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", [] {