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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user