diff --git a/build.rs b/build.rs index eb08d67..9bf945b 100644 --- a/build.rs +++ b/build.rs @@ -22,7 +22,10 @@ fn main() -> std::io::Result<()> { let file = File::create("src/data/scenes.in"); if let Ok(mut file) = file { write!(&file, "// THIS FILE IS AUTOGENERATED BY build.rs BASED ON DATA IN src/blender/scene_*.blend FILES!\n")?; - write!(&file, "// DO NOT MODIFY MANUALLY, CHANGES WILL BE OVERWRITTEN!\n")?; + write!( + &file, + "// DO NOT MODIFY MANUALLY, CHANGES WILL BE OVERWRITTEN!\n" + )?; write!(&file, "[\n")?; extract_scene(&mut file, "test", "src/blender/scene_test.blend")?; extract_scene(&mut file, "workshop", "src/blender/scene_workshop.blend")?; diff --git a/src/chat.rs b/src/chat.rs index a3f3321..d9a3fef 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -979,10 +979,6 @@ pub fn update_chat_variables( } else { 0 }; - vars.set_in_scope( - "$", - "chefhat", - wears_chefhat.to_string(), - ); + vars.set_in_scope("$", "chefhat", wears_chefhat.to_string()); } }