mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-01-31 22:47:25 +00:00
Format Rust code using rustfmt
This commit is contained in:
parent
a6bed95de3
commit
3255a0349d
1 changed files with 6 additions and 2 deletions
|
@ -106,7 +106,11 @@ pub fn main() {
|
|||
log!("Previous menu found, loading from training_modpack_menu.conf");
|
||||
unsafe {
|
||||
MENU = get_menu_from_url(MENU, std::str::from_utf8(&menu_conf).unwrap(), false);
|
||||
DEFAULTS_MENU = get_menu_from_url(DEFAULTS_MENU, std::str::from_utf8(&menu_conf).unwrap(), true);
|
||||
DEFAULTS_MENU = get_menu_from_url(
|
||||
DEFAULTS_MENU,
|
||||
std::str::from_utf8(&menu_conf).unwrap(),
|
||||
true,
|
||||
);
|
||||
}
|
||||
} else {
|
||||
log!("Previous menu found but is invalid.");
|
||||
|
@ -114,7 +118,7 @@ pub fn main() {
|
|||
} else {
|
||||
log!("No previous menu file found.");
|
||||
}
|
||||
|
||||
|
||||
if is_emulator() {
|
||||
unsafe {
|
||||
DEFAULTS_MENU.quick_menu = OnOff::On;
|
||||
|
|
Loading…
Reference in a new issue