diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/minesweeper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minesweeper.rs b/src/minesweeper.rs index 8a0ee8d..6f5b3b6 100644 --- a/src/minesweeper.rs +++ b/src/minesweeper.rs @@ -172,7 +172,7 @@ impl Board { } pub fn render(&self) -> Vec<u8> { - let mut ret = vec![27]; + let mut ret = vec![]; for y in 0..self.height { for x in 0..self.width { let c = &self.data[self.pos_to_off((x,y))]; |