summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstale <redkugelblitzin@gmail.com>2022-05-11 08:28:20 -0300
committerstale <redkugelblitzin@gmail.com>2022-05-11 08:28:20 -0300
commit8d02c5653079039bf748e1d0748d220cf933b725 (patch)
tree3284ff2e92a4909c9106e84f0ce0d70352ee9d11 /src
parent5d3ab3dcf8deb887877523e0293237bcee804b1b (diff)
fixes
Diffstat (limited to 'src')
-rw-r--r--src/minesweeper.rs2
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))];