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

bringris:: fix quit

This commit is contained in:
Zeno Rogue 2023-08-08 12:06:25 +02:00
parent 22947c7fd1
commit debdcae057

View File

@ -1625,7 +1625,10 @@ void run() {
}
dialog::handleNavigation(sym, uni);
if(in_menu && sym == 'q' && !ISWEB) quitmainloop = true;
if(in_menu && sym == 'q' && !ISWEB) {
in_bringris = false;
quitmainloop = true;
}
if(sym == '-') {
if(!which_pointer) {
int ax = mousex * 3 / xstart;
@ -1990,12 +1993,12 @@ void create_game() {
local_parameter_set lps_bringris("bringris:");
void init_all() {
lps_enable(&lps_bringris);
enable_bgeom();
vid.texture_step = 8;
showstartmenu = false;
pushScreen(run);
in_bringris = true;
lps_enable(&lps_bringris);
}
int args() {