Browse Source

mine pulse

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
9d59bde22e
  1. 22
      src/engine/gameManager/SimulationManager.java

22
src/engine/gameManager/SimulationManager.java

@ -132,17 +132,17 @@ public enum SimulationManager {
e.printStackTrace(); e.printStackTrace();
} }
try { //try {
if ((_minePulseTime != 0) // if ((_minePulseTime != 0)
&& (System.currentTimeMillis() > _minePulseTime)) // && (System.currentTimeMillis() > _minePulseTime))
pulseMines(); // pulseMines();
} catch (Exception e) { //} catch (Exception e) {
Logger.error( // Logger.error(
"Fatal error in Mine Pulse: DISABLED. Error Message : " // "Fatal error in Mine Pulse: DISABLED. Error Message : "
+ e.getMessage()); // + e.getMessage());
e.printStackTrace(); // e.printStackTrace();
} //}
SimulationManager.executionTime = Duration.between(startTime, Instant.now()); SimulationManager.executionTime = Duration.between(startTime, Instant.now());
if (executionTime.compareTo(executionMax) > 0) if (executionTime.compareTo(executionMax) > 0)

Loading…
Cancel
Save