mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-09 15:39:55 +00:00
texture:: set variation quicker
This commit is contained in:
parent
8a23faa8b0
commit
49446c64f7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user