Cleanup AnchorableSystem (#37753)
* The easy part * Overload and obsolete * Internal cleanup * Update all references to new overload
This commit is contained in:
@@ -41,7 +41,7 @@ public sealed partial class DungeonJob
|
||||
if (dungeon.RoomTiles.Contains(neighbor))
|
||||
continue;
|
||||
|
||||
if (!_anchorable.TileFree(_grid, neighbor, DungeonSystem.CollisionLayer, DungeonSystem.CollisionMask))
|
||||
if (!_anchorable.TileFree((_gridUid, _grid), neighbor, DungeonSystem.CollisionLayer, DungeonSystem.CollisionMask))
|
||||
continue;
|
||||
|
||||
roomEdges.Add(neighbor);
|
||||
@@ -103,7 +103,7 @@ public sealed partial class DungeonJob
|
||||
{
|
||||
var node = nodeDistances[i].Node;
|
||||
var gridPos = _maps.GridTileToLocal(_gridUid, _grid, node);
|
||||
if (!_anchorable.TileFree(_grid, node, DungeonSystem.CollisionLayer, DungeonSystem.CollisionMask))
|
||||
if (!_anchorable.TileFree((_gridUid, _grid), node, DungeonSystem.CollisionLayer, DungeonSystem.CollisionMask))
|
||||
continue;
|
||||
|
||||
width--;
|
||||
|
||||
Reference in New Issue
Block a user