diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 59e6a28b..98e185e0 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -55,7 +55,7 @@ public enum BuildingManager { for (int i = 0; i < numOfSlots; i++) { - if (!building.hirelings.contains(i)) + if (building.hirelings.get(i) != null) return i; } return -1;