html terminal
Diffstat (limited to 'src/bot/maps.rs')
-rw-r--r--src/bot/maps.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot/maps.rs b/src/bot/maps.rs
index 55b32da..fa00f58 100644
--- a/src/bot/maps.rs
+++ b/src/bot/maps.rs
@@ -112,7 +112,7 @@ impl MapImage {
transparent_color: None,
},
BitDepth::Eight,
- i.buffer,
+ i.take_buffer(),
)
.unwrap();
*lock = i