mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'lemu/src/memory.rs')
-rw-r--r--lemu/src/memory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lemu/src/memory.rs b/lemu/src/memory.rs
index 9dd0828..b350110 100644
--- a/lemu/src/memory.rs
+++ b/lemu/src/memory.rs
@@ -58,7 +58,7 @@ impl std::fmt::Display for LVar<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Self::Num(n) => write!(f, "{n}"),
- Self::String(s) => write!(f, r#""{s}""#),
+ Self::String(s) => write!(f, r#"{}"#, s.replace(r"\n", "\n")),
}
}
}