From: DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com> Date: Fri, 26 Apr 2024 13:02:08 +0000 (-0700) Subject: Fix the game giving up forever when not being able to start a preset (#27359) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=413d69e71f883501285e1673e5b669713af5547d;p=space-station-14.git Fix the game giving up forever when not being able to start a preset (#27359) --- diff --git a/Content.Server/GameTicking/GameTicker.RoundFlow.cs b/Content.Server/GameTicking/GameTicker.RoundFlow.cs index 792d838169..83d8390dd4 100644 --- a/Content.Server/GameTicking/GameTicker.RoundFlow.cs +++ b/Content.Server/GameTicking/GameTicker.RoundFlow.cs @@ -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);