Add support for map UID persistence to mapping commands.
Requires submodule update but does not break if not availabnle.
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Content.Server.Commands.GameTicking
|
|||||||
}
|
}
|
||||||
|
|
||||||
shell.ExecuteCommand(player, $"addmap {mapId} false");
|
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, "aghost");
|
||||||
shell.ExecuteCommand(player, $"tp 0 0 {mapId}");
|
shell.ExecuteCommand(player, $"tp 0 0 {mapId}");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user