1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

no more enabling of Chaos if not unlocked

This commit is contained in:
Zeno Rogue 2019-06-01 17:04:50 +02:00
parent 5a44320585
commit 212c0f54c4

View File

@ -489,7 +489,7 @@ void show_chaos() {
dialog::addBreak(100);
dialog::addBoolItem(XLAT("Chaos mode") + " " + ONOFF(false), !chaosmode, 'A');
dialog::add_action([] { dialog::do_if_confirmed([] { restart_game(rg::chaos); }); });
dialog::add_action([] { dialog::do_if_confirmed([] { if(chaosUnlocked) restart_game(rg::chaos); }); });
if(chaosUnlocked) for(int a=1; a<5; a++) {
if(a > 1 && ISWEB) continue;