From 0b9fbd6d9cabcba8c4ef12d0c6402044f0d80e4a Mon Sep 17 00:00:00 2001 From: bacchelordoh <159671087+ohlordhebacc@users.noreply.github.com> Date: Sat, 11 Oct 2025 23:00:13 -0500 Subject: [PATCH] make the "switch ghost timer" cheat display shmup::curtime instead of turn count in shmup --- debug.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/debug.cpp b/debug.cpp index 1821474c..3bb9892d 100644 --- a/debug.cpp +++ b/debug.cpp @@ -246,8 +246,14 @@ vector cheats = { cheatkey{'G'-64, "switch ghost timer", [] { timerghost = !timerghost; cheater++; - addMessage(XLAT("turn count = %1 last exploration = %2 ghost timer = %3", - its(turncount), its(lastexplore), ONOFF(timerghost))); + if(shmup::on) { + addMessage(XLAT("in-game time = %1 last exploration = %2 ghost timer = %3", + its(shmup::curtime), its(lastexplore), ONOFF(timerghost))); + } + else { + addMessage(XLAT("turn count = %1 last exploration = %2 ghost timer = %3", + its(turncount), its(lastexplore), ONOFF(timerghost))); + } }}, cheatkey{'G', "edit cell values", push_debug_screen}, cheatkey{'L'-64, "cell info", [] {