1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

main menu cancels quit visualizations

This commit is contained in:
Zeno Rogue 2020-03-08 00:59:42 +01:00
parent cf968c8be1
commit 13c807c938
2 changed files with 3 additions and 2 deletions

View File

@ -207,6 +207,7 @@ EX void showOverview() {
// -- main menu -- // -- main menu --
EX void showMainMenu() { EX void showMainMenu() {
cancel(); cancel = noaction;
gamescreen(2); gamescreen(2);
getcstat = ' '; getcstat = ' ';

View File

@ -36,9 +36,9 @@ string timeline() {
XLAT("%1 turns (%2)", its(turncount), getgametime_s()); XLAT("%1 turns (%2)", its(turncount), getgametime_s());
} }
void noaction() {} EX void noaction() {}
function<void()> cancel = noaction; EX function<void()> cancel = noaction;
#if HDR #if HDR
struct hint { struct hint {