Merge pull request #150 from Online5277/fix/startup-settings
Apply saved audio and GUI settings at startup
This commit is contained in:
@@ -9123,9 +9123,7 @@ pub fn run() -> Result<()> {
|
||||
player_model: None,
|
||||
};
|
||||
game.ui.vanilla_root = vanilla_root;
|
||||
game.res.atlas.font.uniform = game.settings.force_unicode;
|
||||
game.res.atlas.font.japanese = game.settings.japanese_glyphs;
|
||||
game.ui.chat.options = game.settings.chat_options();
|
||||
game.apply_settings();
|
||||
if let Some(path) = &game.options.control {
|
||||
let server = horizon_client::control::Server::start(path)
|
||||
.map_err(|e| format!("control socket {}: {e}", path.display()))?;
|
||||
|
||||
Reference in New Issue
Block a user