1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

fixed keys not working in the quit screen

This commit is contained in:
Zeno Rogue 2018-07-10 13:16:04 +02:00
parent 12cfc0b0b5
commit c1105aa263

View File

@ -309,7 +309,6 @@ void showMission() {
cmode = sm::DOTOUR | sm::MISSION | sm::CENTER; cmode = sm::DOTOUR | sm::MISSION | sm::CENTER;
gamescreen(1); drawStats(); gamescreen(1); drawStats();
keyhandler = handleKeyQuit;
dialog::init( dialog::init(
#if CAP_TOUR #if CAP_TOUR
@ -322,6 +321,7 @@ void showMission() {
XLAT("GAME OVER"), XLAT("GAME OVER"),
0xC00000, 200, 100 0xC00000, 200, 100
); );
keyhandler = handleKeyQuit;
if(!peace::on) if(!peace::on)
dialog::addInfo(XLAT("Your score: %1", its(gold()))); dialog::addInfo(XLAT("Your score: %1", its(gold())));