Migrate machine linking and resave all maps (#18243)

This commit is contained in:
Leon Friedrich
2023-07-24 12:35:09 +12:00
committed by GitHub
parent e1e717da04
commit 5172188a48
79 changed files with 20743 additions and 70160 deletions

View File

@@ -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);