diff --git a/menus.cpp b/menus.cpp index e711796c..16157bc3 100644 --- a/menus.cpp +++ b/menus.cpp @@ -207,6 +207,7 @@ EX void showOverview() { // -- main menu -- EX void showMainMenu() { + cancel(); cancel = noaction; gamescreen(2); getcstat = ' '; diff --git a/quit.cpp b/quit.cpp index adc50392..0876b622 100644 --- a/quit.cpp +++ b/quit.cpp @@ -36,9 +36,9 @@ string timeline() { XLAT("%1 turns (%2)", its(turncount), getgametime_s()); } -void noaction() {} +EX void noaction() {} -function cancel = noaction; +EX function cancel = noaction; #if HDR struct hint {