mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-11 17:32:07 +00:00
texture:: set variation quicker
This commit is contained in:
+3
-2
@@ -1102,11 +1102,12 @@ bool texture_config::load() {
|
||||
stop_game();
|
||||
}
|
||||
set_geometry(targetgeometry);
|
||||
set_variation(targetvariation);
|
||||
start_game();
|
||||
return config.load();
|
||||
}
|
||||
|
||||
if(variation != targetvariation) {
|
||||
else if(variation != targetvariation) {
|
||||
stop_game();
|
||||
set_variation(targetvariation);
|
||||
start_game();
|
||||
return config.load();
|
||||
|
||||
Reference in New Issue
Block a user