mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'lemu/src/executor/mod.rs')
-rw-r--r--lemu/src/executor/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lemu/src/executor/mod.rs b/lemu/src/executor/mod.rs
index db9b7f9..9c0553b 100644
--- a/lemu/src/executor/mod.rs
+++ b/lemu/src/executor/mod.rs
@@ -186,7 +186,7 @@ impl Default for DisplayState {
fn default() -> Self {
Self {
color: Default::default(),
- stroke: 1.0,
+ stroke: 5.0,
}
}
}
@@ -216,7 +216,7 @@ impl<'s, W: Write> ExecutorContext<'s, W> {
pub fn mem(&mut self, m: Memory) -> &mut [f64] {
match m {
Memory::Bank(m) => &mut self.banks[m as usize],
- Memory::Cell(m) => &mut self.banks[m as usize],
+ Memory::Cell(m) => &mut self.cells[m as usize],
}
}