From b6b9d7635f4f299aea728961eda16393bb8d5ae8 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 16 Mar 2023 12:48:36 -0400 Subject: [PATCH] Using miliseconds. --- src/engine/devcmd/cmds/HeartbeatCmd.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/devcmd/cmds/HeartbeatCmd.java b/src/engine/devcmd/cmds/HeartbeatCmd.java index a8f891d3..4a8584cb 100644 --- a/src/engine/devcmd/cmds/HeartbeatCmd.java +++ b/src/engine/devcmd/cmds/HeartbeatCmd.java @@ -26,11 +26,11 @@ public class HeartbeatCmd extends AbstractDevCmd { protected void _doCmd(PlayerCharacter pc, String[] words, AbstractGameObject target) { - this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.executionTime.toNanos() + "ns"); - this.throwbackInfo(pc, "Heartbeat Max: " + SimulationManager.executionMax.toNanos() + "ns"); + this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.executionTime.toMillis() + "ms"); + this.throwbackInfo(pc, "Heartbeat Max: " + SimulationManager.executionMax.toMillis() + "ms"); - this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime.toNanos() + "ns"); - this.throwbackInfo(pc, "FSM max: " + MobileFSMManager.executionMax.toNanos() + "ns"); + this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime.toMillis() + "ms"); + this.throwbackInfo(pc, "FSM max: " + MobileFSMManager.executionMax.toMillis() + "ms"); }