From 944bcb7e84ddd0860a8ba24249a72f2db0c3665f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 19 Oct 2023 08:15:22 -0400 Subject: [PATCH] Changed method used to direct bounds --- src/engine/gameManager/BuildingManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }