Browse Source

timestamp to console after each completed iteration of MobileFSMManager

master
FatBoy-DOTC 1 year ago
parent
commit
7cc5e0cf5c
  1. 2
      src/engine/ai/MobileFSMManager.java

2
src/engine/ai/MobileFSMManager.java

@ -14,6 +14,7 @@ import engine.gameManager.ZoneManager; @@ -14,6 +14,7 @@ import engine.gameManager.ZoneManager;
import engine.objects.Mob;
import engine.objects.Zone;
import engine.util.ThreadUtils;
import org.joda.time.DateTime;
import org.pmw.tinylog.Logger;
import java.time.Duration;
@ -121,6 +122,7 @@ public class MobileFSMManager { @@ -121,6 +122,7 @@ public class MobileFSMManager {
executionMax = executionTime;
mobPulse = System.currentTimeMillis() + AI_PULSE_MOB_THRESHOLD;
Logger.error("MobileFSM cycle completed: " + DateTime.now());
}
}
}

Loading…
Cancel
Save