mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-12 13:17:38 +00:00
texture:: set variation quicker
This commit is contained in:
@@ -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