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:
parent
8a23faa8b0
commit
49446c64f7
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user