mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'lemu/src/memory.rs')
| -rw-r--r-- | lemu/src/memory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lemu/src/memory.rs b/lemu/src/memory.rs index 86024c3..9f808f9 100644 --- a/lemu/src/memory.rs +++ b/lemu/src/memory.rs @@ -62,7 +62,7 @@ impl std::fmt::Debug for LAddress { 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:.4}"), // yeeeeahhhh + Self::Num(n) => write!(f, "{}", crate::debug::ff(*n)), // yeeeeahhhh Self::String(s) => write!(f, r#""{s}""#), } } |