mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-27 20:34:03 +00:00
Fix formatting
This commit is contained in:
parent
b2531fdc8b
commit
9e698febf9
1 changed files with 5 additions and 3 deletions
|
@ -51,9 +51,11 @@ pub fn load_from_file() {
|
||||||
info!("Setting initial menu selections...");
|
info!("Setting initial menu selections...");
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut app = QUICK_MENU_APP.lock();
|
let mut app = QUICK_MENU_APP.lock();
|
||||||
app.serialized_default_settings =
|
app.serialized_default_settings = serde_json::to_string(&*addr_of!(DEFAULTS_MENU))
|
||||||
serde_json::to_string(&*addr_of!(DEFAULTS_MENU)).expect("Could not serialize DEFAULTS_MENU");
|
.expect("Could not serialize DEFAULTS_MENU");
|
||||||
app.update_all_from_json(&serde_json::to_string(&*addr_of!(MENU)).expect("Could not serialize MENU"));
|
app.update_all_from_json(
|
||||||
|
&serde_json::to_string(&*addr_of!(MENU)).expect("Could not serialize MENU"),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue