From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 30 Mar 2025 07:06:24 +0000 (+1100) Subject: Fix LoadGameMap running MapInit sometimes (#35241) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=085e28dd00971a44dc60e89220430f57d386c283;p=space-station-14.git 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. --- 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,