|
|
@ -172,8 +172,11 @@ public enum MaintenanceManager { |
|
|
|
setMaintDateTime(tol, tol.maintDateTime.plusDays(1)); //failed to pay maintenance, set next date for tomorrow
|
|
|
|
setMaintDateTime(tol, tol.maintDateTime.plusDays(1)); //failed to pay maintenance, set next date for tomorrow
|
|
|
|
if(tol.getRank() == 1) |
|
|
|
if(tol.getRank() == 1) |
|
|
|
destroyAllCityAssets(tol.getCity()); |
|
|
|
destroyAllCityAssets(tol.getCity()); |
|
|
|
|
|
|
|
try { |
|
|
|
tol.destroyOrDerank(null); |
|
|
|
tol.destroyOrDerank(null); |
|
|
|
|
|
|
|
}catch(Exception e){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
public static void destroyAllCityAssets(City city){ |
|
|
|
public static void destroyAllCityAssets(City city){ |
|
|
|
if(city == null) |
|
|
|
if(city == null) |
|
|
|