cargo fmt
This commit is contained in:
parent
bd206be108
commit
1ddb7675ea
5
build.rs
5
build.rs
|
@ -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")?;
|
||||||
|
|
|
@ -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(),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue