From 1142676c87329c8f7730b8a6d9f0cdbbfac72c10 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 16 Mar 2023 13:00:22 -0400 Subject: [PATCH] Milliseconds are easier to interpret than fractions. --- 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 2e4b1760..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); - this.throwbackInfo(pc, "Heartbeat Max: " + SimulationManager.executionMax); + this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.executionTime.toMillis() + "ms"); + this.throwbackInfo(pc, "Heartbeat Max: " + SimulationManager.executionMax.toMillis() + "ms"); - this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime); - this.throwbackInfo(pc, "FSM max: " + MobileFSMManager.executionMax); + this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime.toMillis() + "ms"); + this.throwbackInfo(pc, "FSM max: " + MobileFSMManager.executionMax.toMillis() + "ms"); }