1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-13 12:44:08 +00:00

rogueviz::ads:: fix to scalefactor

This commit is contained in:
Zeno Rogue 2025-02-10 09:43:55 +01:00
parent 407c3b20b9
commit 158141e568

View File

@ -108,9 +108,9 @@ void run_ads_game() {
if(hybrid::csteps) { if(hybrid::csteps) {
stop_game(); stop_game();
hybrid::csteps = 0; hybrid::csteps = 0;
hybrid::reconfigure();
} }
run_size_hooks(); run_size_hooks();
hybrid::reconfigure(); // we need to reconfigure to take scalefactor change into account
run_ads_game_hooks(); run_ads_game_hooks();
start_game(); start_game();