Set map as uninitialized on loadmap (#3503)

This commit is contained in:
metalgearsloth
2022-11-19 14:33:53 +11:00
committed by GitHub
parent 509ba2ec4b
commit fb0ed471a0

View File

@@ -539,6 +539,7 @@ public sealed class MapLoaderSystem : EntitySystem
{
// Map doesn't exist so we'll start it up now so we can re-attach the preinit entities to it for later.
_mapManager.CreateMap(data.TargetMap);
_mapManager.AddUninitializedMap(data.TargetMap);
mapNode = _mapManager.GetMapEntityId(data.TargetMap);
DebugTools.Assert(mapNode.IsValid());
}