mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
fixed keys not working in the quit screen
This commit is contained in:
parent
12cfc0b0b5
commit
c1105aa263
2
quit.cpp
2
quit.cpp
@ -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())));
|
||||||
|
Loading…
Reference in New Issue
Block a user