mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Replace GridEntityId with Owner (#3530)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user