From f5c3b1935b28bf2c1fd4bc25e1f21aa16d59f601 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Sat, 27 Nov 2021 16:22:20 +0000 Subject: [PATCH] Disable station events while mapping (#5581) --- Content.Server/GameTicking/Commands/MappingCommand.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Server/GameTicking/Commands/MappingCommand.cs b/Content.Server/GameTicking/Commands/MappingCommand.cs index c13e93072d..7bad8b642d 100644 --- a/Content.Server/GameTicking/Commands/MappingCommand.cs +++ b/Content.Server/GameTicking/Commands/MappingCommand.cs @@ -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");