autocheat now circumvents the lock on the Princess Challenge
This commit is contained in:
parent
e032e619c0
commit
960485ec8e
|
@ -780,7 +780,7 @@ EX void showChangeMode() {
|
||||||
#endif
|
#endif
|
||||||
dialog::addBoolItem(XLAT("%1 Challenge", moPrincess), (princess::challenge), 'P');
|
dialog::addBoolItem(XLAT("%1 Challenge", moPrincess), (princess::challenge), 'P');
|
||||||
dialog::add_action_confirmed([] {
|
dialog::add_action_confirmed([] {
|
||||||
if(!princess::everSaved)
|
if(!princess::everSaved && !autocheat)
|
||||||
addMessage(XLAT("Save %the1 first to unlock this challenge!", moPrincess));
|
addMessage(XLAT("Save %the1 first to unlock this challenge!", moPrincess));
|
||||||
else restart_game(rg::princess);
|
else restart_game(rg::princess);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue