From 085e28dd00971a44dc60e89220430f57d386c283 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 30 Mar 2025 18:06:24 +1100 Subject: [PATCH] Fix LoadGameMap running MapInit sometimes (#35241) The map loadpath keeps it as not being mapinit but the grid one does not so this standardises them slightly. --- Content.Server/GameTicking/GameTicker.RoundFlow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/GameTicking/GameTicker.RoundFlow.cs b/Content.Server/GameTicking/GameTicker.RoundFlow.cs index 7ab6cfdc63..ce60aae3d9 100644 --- a/Content.Server/GameTicking/GameTicker.RoundFlow.cs +++ b/Content.Server/GameTicking/GameTicker.RoundFlow.cs @@ -196,7 +196,7 @@ namespace Content.Server.GameTicking if (ev.GameMap.IsGrid) { - var mapUid = _map.CreateMap(out mapId); + var mapUid = _map.CreateMap(out mapId, runMapInit: options?.InitializeMaps ?? false); if (!_loader.TryLoadGrid(mapId, ev.GameMap.MapPath, out var grid, -- 2.51.2