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:
parent
3311809e01
commit
c816137f8b
2
tour.cpp
2
tour.cpp
@ -134,6 +134,7 @@ EX void presentation(presmode mode) {
|
||||
|
||||
slides[currentslide].action(mode);
|
||||
callhooks(hooks_slide, mode);
|
||||
if(mode == pmStop) slide_restore_all();
|
||||
}
|
||||
|
||||
string parent_folder(const string& s) {
|
||||
@ -194,6 +195,7 @@ bool handleKeyTour(int sym, int uni) {
|
||||
}
|
||||
if(flags & FINALSLIDE) return true;
|
||||
presentation(pmStop);
|
||||
slide_restore_all();
|
||||
currentslide++;
|
||||
presentation(pmStart);
|
||||
slidehelp();
|
||||
|
Loading…
Reference in New Issue
Block a user