Restart empty missions after the last disconnect and every five hours

Use connected player counts to protect loading players and spectators, and elapsed real time for idle restarts. Reuse native mission termination and cover restart timing, authority and lifecycle guards with targeted regressions.
This commit is contained in:
2026-10-14 13:56:56 +02:00
parent bf85f62dca
commit 0048527fe2
6 changed files with 164 additions and 24 deletions
+1
View File
@@ -8,6 +8,7 @@ from prefab_identity import check_prefabs
ROOT=Path(__file__).resolve().parents[1]
BASE='58D0FB3206B6F859'
def check():
subprocess.run([sys.executable,str(ROOT/'tests/test_empty_server_restart.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_rescue_factions.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_rescue_landing.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_rescue_descent.py')],check=True)