Browse Source

new maintenance completed

lakebane-master
FatBoy-DOTC 5 months ago
parent
commit
d93892df6c
  1. 2
      src/engine/gameManager/MaintenanceManager.java

2
src/engine/gameManager/MaintenanceManager.java

@ -54,7 +54,7 @@ public enum MaintenanceManager { @@ -54,7 +54,7 @@ public enum MaintenanceManager {
for (AbstractGameObject ago : worldCities.values()) {
if (ago.getObjectType().equals(Enum.GameObjectType.City)) {
City city = (City) ago;
if(city == null)
if(city == null || city.getIsNpcOwned() == 1)
continue;
Building tol = city.getTOL();

Loading…
Cancel
Save