mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 23:06:00 +00:00
rogueviz:: bringris:: save the score when quitting bringris
This commit is contained in:
@@ -1766,6 +1766,7 @@ void run() {
|
|||||||
|
|
||||||
dialog::handleNavigation(sym, uni);
|
dialog::handleNavigation(sym, uni);
|
||||||
if(in_menu && sym == 'q' && !ISWEB) {
|
if(in_menu && sym == 'q' && !ISWEB) {
|
||||||
|
if(cur.bricks > 0) save();
|
||||||
in_bringris = false;
|
in_bringris = false;
|
||||||
quitmainloop = true;
|
quitmainloop = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user