From d93892df6c8f859ecad83c01f073956d77b60306 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 27 May 2024 20:55:51 -0500 Subject: [PATCH] new maintenance completed --- src/engine/gameManager/MaintenanceManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/MaintenanceManager.java b/src/engine/gameManager/MaintenanceManager.java index 2cf3ceaf..094acce3 100644 --- a/src/engine/gameManager/MaintenanceManager.java +++ b/src/engine/gameManager/MaintenanceManager.java @@ -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();