Add support for map UID persistence to mapping commands.

Requires submodule update but does not break if not availabnle.
This commit is contained in:
Pieter-Jan Briers
2021-01-17 15:52:47 +01:00
parent 84eeba8e42
commit 9d5e85ba1e

View File

@@ -57,7 +57,7 @@ namespace Content.Server.Commands.GameTicking
}
shell.ExecuteCommand(player, $"addmap {mapId} false");
shell.ExecuteCommand(player, $"loadbp {mapId} \"{CommandParsing.Escape(mapName)}\"");
shell.ExecuteCommand(player, $"loadbp {mapId} \"{CommandParsing.Escape(mapName)}\" true");
shell.ExecuteCommand(player, "aghost");
shell.ExecuteCommand(player, $"tp 0 0 {mapId}");