Retain aircraft through native landing and qualify bounded input diagnostics

This commit is contained in:
2026-09-19 20:34:18 +02:00
parent f870443b9b
commit 2fba12f987
129 changed files with 50369 additions and 88 deletions
@@ -74,6 +74,10 @@ class ERR_Actors
// One server-owned implementation is installed by the AI addon.
class ERR_CommandService
{
// Maintain already admitted physical work even while tactical decisions pause
// on an empty server. Never start new orders or renew their deadlines here.
// Stop owns terminal teardown; this callback runs only in an active round.
void Maintain(float now) {}
void Tick(float now) {}
void Stop() {}
void RegisterGroup(SCR_AIGroup group) {}
@@ -371,6 +371,9 @@ class ERR_GameMode : SCR_BaseGameMode
if (RefreshRadioFeedback()) Replication.BumpMe();
m_Recovery.Tick();
if (!Active()) return;
if (m_Command) m_Command.Maintain(now);
// Maintenance can finish or stop the round; do not resume tactical work.
if (!Active()) return;
if (GetGame().GetPlayerManager().GetPlayerCount() == 0)
{
m_NoSurvivorsSince = -1;