1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

a fix in rogueviz

This commit is contained in:
Zeno Rogue 2020-09-11 11:41:09 +02:00
parent 37495105a5
commit 3eb576e309

View File

@ -1235,9 +1235,9 @@ auto hooks =
addHook(hooks_o_key, 100, o_key) +
#if CAP_RVSLIDES
addHook(tour::ss::hooks_extra_slideshows, 100, [] (slideshow_callback cb) {
if(rvslides.empty()) rvtour::gen_rvtour();
cb(XLAT("RogueViz Tour"), &rvtour::rvslides[0], 'r');
addHook(tour::ss::hooks_extra_slideshows, 100, [] (tour::ss::slideshow_callback cb) {
if(rogueviz::rvtour::rvslides.empty()) rvtour::gen_rvtour();
cb(XLAT("RogueViz mixed bag"), &rvtour::rvslides[0], 'r');
}) +
#endif