Remove double set
This commit is contained in:
parent
4226d72b1d
commit
634115aa3d
1 changed files with 0 additions and 22 deletions
|
@ -509,28 +509,6 @@ impl Game {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn apply_data_dir(settings: &mut CoreSettings, data_dir: &str) {
|
fn apply_data_dir(settings: &mut CoreSettings, data_dir: &str) {
|
||||||
// gui
|
|
||||||
settings.gui.font.set_prefix(data_dir);
|
|
||||||
|
|
||||||
// engine
|
|
||||||
settings.engine.tile_directory.set_prefix(data_dir);
|
|
||||||
settings.engine.entity_directory.set_prefix(data_dir);
|
|
||||||
settings.engine.gltf_directory.set_prefix(data_dir);
|
|
||||||
settings
|
|
||||||
.engine
|
|
||||||
.xbox_controller_directory
|
|
||||||
.set_prefix(data_dir);
|
|
||||||
settings
|
|
||||||
.engine
|
|
||||||
.steam_controller_directory
|
|
||||||
.set_prefix(data_dir);
|
|
||||||
settings
|
|
||||||
.engine
|
|
||||||
.ps4_controller_directory
|
|
||||||
.set_prefix(data_dir);
|
|
||||||
settings.engine.light_key.set_prefix(data_dir);
|
|
||||||
settings.engine.dark_key.set_prefix(data_dir);
|
|
||||||
|
|
||||||
// game
|
// game
|
||||||
settings.game.sounds_directory.set_prefix(data_dir);
|
settings.game.sounds_directory.set_prefix(data_dir);
|
||||||
settings.game.music_directory.set_prefix(data_dir);
|
settings.game.music_directory.set_prefix(data_dir);
|
||||||
|
|
Loading…
Reference in a new issue