autocheat now circumvents the lock on the Princess Challenge

This commit is contained in:
Zeno Rogue 2024-03-27 16:54:35 +01:00
parent e032e619c0
commit 960485ec8e
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ EX void showChangeMode() {
#endif
dialog::addBoolItem(XLAT("%1 Challenge", moPrincess), (princess::challenge), 'P');
dialog::add_action_confirmed([] {
if(!princess::everSaved)
if(!princess::everSaved && !autocheat)
addMessage(XLAT("Save %the1 first to unlock this challenge!", moPrincess));
else restart_game(rg::princess);
});