press '0' to exit the Tutorial

This commit is contained in:
Zeno Rogue 2019-01-02 16:22:06 +01:00
parent 06cfd5e2d6
commit 279f4fa0a0
2 changed files with 6 additions and 0 deletions

View File

@ -427,6 +427,7 @@ void showMission() {
dialog::addItem(XLAT("next slide"), SDLK_RETURN);
dialog::addItem(XLAT("previous slide"), SDLK_BACKSPACE);
dialog::addItem(XLAT("list of slides"), '9');
dialog::addItem(XLAT("exit the Tutorial"), '0');
}
else
dialog::addBreak(200);

View File

@ -248,6 +248,11 @@ bool handleKeyTour(int sym, int uni) {
pushScreen(ss::showMenu);
return true;
}
if(NUMBERKEY == '0') {
tour::start();
pushScreen(showStartMenu);
return true;
}
return false;
}