This commit is contained in:
Anuken
2022-05-09 23:50:01 -04:00
parent 95254eef44
commit 6efca04ea8
9 changed files with 9 additions and 12 deletions

View File

@@ -1634,10 +1634,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
if(other == null || !(other.tile.interactable(team))) continue;
//add this tile to proximity of nearby tiles
if(!other.proximity.contains(self(), true)){
other.proximity.add(self());
}
other.proximity.addUnique(self());
tmpTiles.add(other);
}