fix(battle): enable fast ticket drain in single-sortie air battles

Pass the native no-respawn ticket rule when the mode limits each pilot to a single sortie. The Air Realistic mission headers omit this setting.
This commit is contained in:
N0VAN0M4LY committed 2026-12-01 13:31:54 +08:00
1 parent d165a80a4a
commit 44e64fa414
1 file changed
+1
@@ -63,6 +63,7 @@ export function battleMissionSettings(plan: BattleLaunchPlan, scores: Readonly<R
setParam(settings, 'allowSpare', flag(!plan.selectedSlot));
if (plan.selectedSlot) {
setParam(settings, 'maxRespawns', integer(SINGLE_SPAWN));
setParam(settings, 'ctaInstantDecreaseTicketsWhenNoRespawn', flag(true));
// The native mission loader reads the AI limit at the top level, after its bots.blk default.
setParam(settings, 'numBotRespawns', integer(plan.airBotRespawns));
}