Disable station events while mapping (#5581)

This commit is contained in:
20kdc
2021-11-27 16:22:20 +00:00
committed by GitHub
parent 76a8f4d7da
commit f5c3b1935b

View File

@@ -64,6 +64,7 @@ namespace Content.Server.GameTicking.Commands
return;
}
shell.ExecuteCommand("sudo cvar events.enabled false");
shell.ExecuteCommand($"addmap {mapId} false");
shell.ExecuteCommand($"loadbp {mapId} \"{CommandParsing.Escape(mapName)}\" true");