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

Loading…
Cancel
Save