mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-26 04:41:41 +00:00
make the "switch ghost timer" cheat display shmup::curtime instead of turn count in shmup
This commit is contained in:
@@ -246,8 +246,14 @@ vector<cheatkey> cheats = {
|
|||||||
cheatkey{'G'-64, "switch ghost timer", [] {
|
cheatkey{'G'-64, "switch ghost timer", [] {
|
||||||
timerghost = !timerghost;
|
timerghost = !timerghost;
|
||||||
cheater++;
|
cheater++;
|
||||||
addMessage(XLAT("turn count = %1 last exploration = %2 ghost timer = %3",
|
if(shmup::on) {
|
||||||
its(turncount), its(lastexplore), ONOFF(timerghost)));
|
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{'G', "edit cell values", push_debug_screen},
|
||||||
cheatkey{'L'-64, "cell info", [] {
|
cheatkey{'L'-64, "cell info", [] {
|
||||||
|
|||||||
Reference in New Issue
Block a user