mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/data/schematic.rs')
-rw-r--r--src/data/schematic.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/data/schematic.rs b/src/data/schematic.rs
index 10252aa..d1e1c9a 100644
--- a/src/data/schematic.rs
+++ b/src/data/schematic.rs
@@ -602,11 +602,10 @@ impl fmt::Display for Schematic
writeln!(f)?;
}
// print the letters assigned to blocks
- writeln!(f)?;
for (k, _) in name_cnt
{
let v = *types.get(k).unwrap();
- writeln!(f, "({v}) {k}")?;
+ write!(f, "\n({v}) {k}")?;
}
}
else {write!(f, "<empty {} * {}>", self.width, self.height)?;}