mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Fix inverted GetAllMapGrids mapid check (#4561)
This commit is contained in:
@@ -89,7 +89,7 @@ internal partial class MapManager
|
||||
var query = EntityManager.AllEntityQueryEnumerator<MapGridComponent, TransformComponent>();
|
||||
while (query.MoveNext(out var grid, out var xform))
|
||||
{
|
||||
if (xform.MapID != mapId)
|
||||
if (xform.MapID == mapId)
|
||||
yield return grid;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user