diff --git a/src/lib.rs b/src/lib.rs index 65320e6..c3134bd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -290,7 +290,7 @@ pub fn add_room() -> String { fn colour_match(a: &image::Rgb, b: &bitsy_parser::Colour) -> u8 { if a[0] == b.red && a[1] == b.green && a[2] == b.blue { 1 } else { 0 } - }; + } for y in (row * SD)..((row + 1) * SD) { for x in (column * SD)..((column + 1) * SD) {