diff --git a/Content.Server/GameTicking/Commands/MappingCommand.cs b/Content.Server/GameTicking/Commands/MappingCommand.cs index 7bad8b642d..4909402ea3 100644 --- a/Content.Server/GameTicking/Commands/MappingCommand.cs +++ b/Content.Server/GameTicking/Commands/MappingCommand.cs @@ -64,6 +64,12 @@ namespace Content.Server.GameTicking.Commands return; } + if (mapManager.MapExists(new MapId(mapId))) + { + shell.WriteLine($"Map {mapId} already exists"); + return; + } + shell.ExecuteCommand("sudo cvar events.enabled false"); shell.ExecuteCommand($"addmap {mapId} false"); shell.ExecuteCommand($"loadbp {mapId} \"{CommandParsing.Escape(mapName)}\" true");