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:
@@ -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", [] {
|
||||
|
||||
Reference in New Issue
Block a user