1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-22 23:17:04 +00:00

tour:: slide_restore_all() on pmStop

This commit is contained in:
Zeno Rogue 2020-09-11 11:19:19 +02:00
parent 3311809e01
commit c816137f8b

View File

@ -134,6 +134,7 @@ EX void presentation(presmode mode) {
slides[currentslide].action(mode); slides[currentslide].action(mode);
callhooks(hooks_slide, mode); callhooks(hooks_slide, mode);
if(mode == pmStop) slide_restore_all();
} }
string parent_folder(const string& s) { string parent_folder(const string& s) {
@ -194,6 +195,7 @@ bool handleKeyTour(int sym, int uni) {
} }
if(flags & FINALSLIDE) return true; if(flags & FINALSLIDE) return true;
presentation(pmStop); presentation(pmStop);
slide_restore_all();
currentslide++; currentslide++;
presentation(pmStart); presentation(pmStart);
slidehelp(); slidehelp();