Browse Source

Changed method used to direct bounds

combat-2
MagicBot 1 year ago
parent
commit
944bcb7e84
  1. 3
      src/engine/gameManager/BuildingManager.java

3
src/engine/gameManager/BuildingManager.java

@ -951,8 +951,9 @@ public enum BuildingManager { @@ -951,8 +951,9 @@ public enum BuildingManager {
if (building == null)
continue;
;
if (Bounds.collide(loc, building))
if (Bounds.collide(loc, building.getBounds()))
return building;
}

Loading…
Cancel
Save