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
+1 -1
View File
@@ -331,7 +331,7 @@ EX void showCreative() {
dialog::cheat_if_confirmed([] {
cheater++;
pushScreen(mapeditor::showMapEditor);
lastexplore = turncount;
lastexplore = shmup::on ? shmup::curtime : turncount;
addMessage(XLAT("You activate your terraforming powers!"));
});
});