Migrate machine linking and resave all maps (#18243)
This commit is contained in:
@@ -36,6 +36,9 @@ public sealed class ResaveCommand : LocalizedCommands
|
||||
LoadMap = true,
|
||||
});
|
||||
|
||||
// Process deferred component removals.
|
||||
_entManager.CullRemovedComponents();
|
||||
|
||||
var mapUid = _mapManager.GetMapEntityId(mapId);
|
||||
var mapXform = _entManager.GetComponent<TransformComponent>(mapUid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user