mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-17 06:07:12 +00:00
fixed "lastexplore" not getting set to "shmup::curtime" when enabling the map editor 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