Browse Source

maintenance bug

lakebane2
FatBoy-DOTC 2 weeks ago
parent
commit
30488e5da6
  1. 6
      src/engine/gameManager/MaintenanceManager.java

6
src/engine/gameManager/MaintenanceManager.java

@ -122,9 +122,9 @@ public enum MaintenanceManager { @@ -122,9 +122,9 @@ public enum MaintenanceManager {
//no maintenance if day of week doesnt match
if (LocalDateTime.now().getDayOfWeek().ordinal() != building.maintDateTime.getDayOfWeek().ordinal()) {
continue;
}
//if (LocalDateTime.now().getDayOfWeek().ordinal() != building.maintDateTime.getDayOfWeek().ordinal()) {
// continue;
//}
// Add building to maintenance queue
maintList.add(building);

Loading…
Cancel
Save