diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index fe7baa02..752de8b0 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -1570,8 +1570,10 @@ export const getWorldState = (buildLabel?: string): IWorldState => { if (config.worldState) { for (const [key, alert] of Object.entries(configAlerts)) { if (config.worldState[key as keyof typeof config.worldState]) { - if (alert.MissionInfo.missionType == "MT_DEFENSE") + if (alert.MissionInfo.missionType == "MT_DEFENSE") { alert.MissionInfo.maxWaveNum = defenseWavesPerRotation * (alert.MissionInfo.maxRotations ?? 1); + alert.MissionInfo.maxRotations = undefined; + } worldState.Alerts.push(alert); } }