Fix the game giving up forever when not being able to start a preset (#27359)

This commit is contained in:
DrSmugleaf
2024-04-26 06:02:08 -07:00
committed by GitHub
parent 30b74027fb
commit 413d69e71f

View File

@@ -245,7 +245,10 @@ namespace Content.Server.GameTicking
var origReadyPlayers = readyPlayers.ToArray();
if (!StartPreset(origReadyPlayers, force))
{
_startingRound = false;
return;
}
// MapInitialize *before* spawning players, our codebase is too shit to do it afterwards...
_mapManager.DoMapInitialize(DefaultMap);