1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

texture:: set variation quicker

This commit is contained in:
Zeno Rogue 2024-06-16 13:50:23 +02:00
parent 8a23faa8b0
commit 49446c64f7

View File

@ -1102,11 +1102,12 @@ bool texture_config::load() {
stop_game(); stop_game();
} }
set_geometry(targetgeometry); set_geometry(targetgeometry);
set_variation(targetvariation);
start_game(); start_game();
return config.load(); return config.load();
} }
else if(variation != targetvariation) {
if(variation != targetvariation) { stop_game();
set_variation(targetvariation); set_variation(targetvariation);
start_game(); start_game();
return config.load(); return config.load();