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

Merge pull request #262 from jruderman/pc_peril

Princess Quest no longer shows fail screen merely due to the princess being in peril
This commit is contained in:
Zeno Rogue 2021-07-21 22:38:53 +02:00 committed by GitHub
commit 4c0d0e2a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -527,7 +527,7 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
princess::reviveAt = gold(NO_LOVE) + 20;
}
}
if(princess::challenge) showMissionScreen();
if(princess::challenge) changes.at_commit([] { showMissionScreen(); });
}
}