diff --git a/help.cpp b/help.cpp index cfe8bb7b..1b2c04a9 100644 --- a/help.cpp +++ b/help.cpp @@ -85,7 +85,7 @@ vector extra_keys_3d = { "move mouse = rotate camera (in rug, only with lctrl)", }; -void buildHelpText() { +EX void buildHelpText() { DEBBI(DF_GRAPH, ("buildHelpText")); help = XLAT("Welcome to HyperRogue"); diff --git a/quit.cpp b/quit.cpp index e6c39b6f..ad994436 100644 --- a/quit.cpp +++ b/quit.cpp @@ -550,6 +550,7 @@ EX void showGameMenu() { #endif #endif dialog::addHelp(); + dialog::add_action([] { buildHelpText(); gotoHelp(help); }); dialog::addItem(XLAT("restart"), SDLK_F5); dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R'); dialog::add_action([] {