cargo fmt

This commit is contained in:
yuni 2024-09-13 23:40:03 +02:00
parent bd206be108
commit 1ddb7675ea
2 changed files with 5 additions and 6 deletions

View file

@ -22,7 +22,10 @@ fn main() -> std::io::Result<()> {
let file = File::create("src/data/scenes.in"); let file = File::create("src/data/scenes.in");
if let Ok(mut file) = file { 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, "// 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")?; write!(&file, "[\n")?;
extract_scene(&mut file, "test", "src/blender/scene_test.blend")?; extract_scene(&mut file, "test", "src/blender/scene_test.blend")?;
extract_scene(&mut file, "workshop", "src/blender/scene_workshop.blend")?; extract_scene(&mut file, "workshop", "src/blender/scene_workshop.blend")?;

View file

@ -979,10 +979,6 @@ pub fn update_chat_variables(
} else { } else {
0 0
}; };
vars.set_in_scope( vars.set_in_scope("$", "chefhat", wears_chefhat.to_string());
"$",
"chefhat",
wears_chefhat.to_string(),
);
} }
} }