Make mapping use consistent Entity Uids (#7625)

This commit is contained in:
Leon Friedrich
2022-04-19 10:46:32 +12:00
committed by GitHub
parent 02cc196109
commit b99b14b143

View File

@@ -67,7 +67,7 @@ namespace Content.Server.GameTicking.Commands
if (args.Length <= 1) if (args.Length <= 1)
shell.ExecuteCommand($"addmap {mapId} false"); shell.ExecuteCommand($"addmap {mapId} false");
else else
shell.ExecuteCommand($"loadmap {mapId} \"{CommandParsing.Escape(args[1])}\""); shell.ExecuteCommand($"loadmap {mapId} \"{CommandParsing.Escape(args[1])}\" 0 0 0 true");
// was the map actually created? // was the map actually created?
if (!mapManager.MapExists(mapId)) if (!mapManager.MapExists(mapId))