Browse Source

Update to list based lookup

bugfix-slot-update-2
MagicBot 9 months ago
parent
commit
ce8dc09a95
  1. 2
      src/engine/gameManager/BuildingManager.java

2
src/engine/gameManager/BuildingManager.java

@ -59,7 +59,7 @@ public enum BuildingManager { @@ -59,7 +59,7 @@ public enum BuildingManager {
if (building.hirelings.size() == numOfSlots)
return -1;
return building.hirelings.size() + 1;
return building.hirelings.size();
}

Loading…
Cancel
Save