diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 3dcd8bb6..d87b5589 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -951,8 +951,9 @@ public enum BuildingManager { if (building == null) continue; + ; - if (Bounds.collide(loc, building)) + if (Bounds.collide(loc, building.getBounds())) return building; }