1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-18 09:00:19 +00:00

Merge pull request #472 from ohlordhebacc/mapeditor-lastexplore-shmup-fix

Fix the "lastexplore" value getting set to the turn/knives thrown count instead of "shmup::curtime" when enabling the map editor in shmup, and when playing the fifteen+4 puzzle in shmup
This commit is contained in:
Zeno Rogue
2025-10-13 09:18:22 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -168,7 +168,7 @@ vector<cheatkey> cheats = {
cheatkey{'R'-64, "advance the rose wave", buildRosemap},
#if CAP_EDIT
cheatkey{'A', "start the Map Editor", [] {
lastexplore = turncount;
lastexplore = shmup::on ? shmup::curtime : turncount;
pushScreen(mapeditor::showMapEditor);
}},
cheatkey{'A'-64, "start the Vector Graphics Editor", [] {