cargo fmt

This commit is contained in:
yuni 2024-10-26 00:37:58 +02:00
parent 8199ed790c
commit 5723fd909b

View file

@ -987,7 +987,11 @@ pub fn update_chat_variables(
vars.set_in_scope( vars.set_in_scope(
"$", "$",
"ar", "ar",
if settings.hud_active { String::from("1") } else { String::from("0") } if settings.hud_active {
String::from("1")
} else {
String::from("0")
},
); );
let wears_chefhat = if let Some(ava) = hud::PLAYER_AR_AVATARS.get(settings.ar_avatar) { let wears_chefhat = if let Some(ava) = hud::PLAYER_AR_AVATARS.get(settings.ar_avatar) {
match ava.0 { match ava.0 {