Replace GridEntityId with Owner (#3530)

This commit is contained in:
metalgearsloth
2022-12-12 14:58:41 +11:00
committed by GitHub
parent fef963e77a
commit 3c168f5a31
49 changed files with 224 additions and 228 deletions

View File

@@ -127,7 +127,7 @@ internal partial class MapManager
var xformQuery = EntityManager.GetEntityQuery<TransformComponent>();
return EntityManager.EntityQuery<MapGridComponent>(true)
.Where(c => xformQuery.GetComponent(c.Owner).MapID == mapId)
.Where(c => xformQuery.GetComponent(((Component) c).Owner).MapID == mapId)
.Select(c => c);
}