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.
This commit is contained in:
metalgearsloth 2025-03-30 18:06:24 +11:00 committed by deltanedas
parent abd67a4715
commit b82a547097
1 changed files with 1 additions and 1 deletions

View File

@ -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,