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 {
//no maintenance if day of week doesnt match //no maintenance if day of week doesnt match
if (LocalDateTime.now().getDayOfWeek().ordinal() != building.maintDateTime.getDayOfWeek().ordinal()) { //if (LocalDateTime.now().getDayOfWeek().ordinal() != building.maintDateTime.getDayOfWeek().ordinal()) {
continue; // continue;
} //}
// Add building to maintenance queue // Add building to maintenance queue
maintList.add(building); maintList.add(building);

Loading…
Cancel
Save