mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/exe/draw.rs')
| -rw-r--r-- | src/exe/draw.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exe/draw.rs b/src/exe/draw.rs index c7de323..964bcac 100644 --- a/src/exe/draw.rs +++ b/src/exe/draw.rs @@ -6,7 +6,6 @@ use std::env::Args; use crate::print_err; pub fn main(args: Args) { - unsafe { mindus::warmup() }; let reg = build_registry(); let mut ss = SchematicSerializer(®); @@ -14,7 +13,7 @@ pub fn main(args: Args) { for curr in args { match ss.deserialize_base64(&curr) { Ok(s) => { - unsafe { s.render() }.save("x.png").unwrap(); + s.render().save("x.png"); } // continue processing literals & maybe interactive mode Err(e) => { |