Make sandbox the local gamemode (#8360)

This commit is contained in:
wrexbe
2022-05-22 17:32:34 -07:00
committed by GitHub
parent 533e4974c8
commit b129844579

View File

@@ -70,7 +70,7 @@ namespace Content.Server.GameTicking
private void InitializeGamePreset()
{
SetGamePreset(_configurationManager.GetCVar(CCVars.GameLobbyDefaultPreset));
SetGamePreset(LobbyEnabled ? _configurationManager.GetCVar(CCVars.GameLobbyDefaultPreset) : "sandbox");
}
public void SetGamePreset(GamePresetPrototype preset, bool force = false)