diff -r fac275de34e5 -r 76a52e8149e3 rust/mapgen/src/lib.rs --- a/rust/mapgen/src/lib.rs Thu Nov 08 11:34:01 2018 -0500 +++ b/rust/mapgen/src/lib.rs Thu Nov 08 22:22:47 2018 +0300 @@ -141,6 +141,7 @@ if let Some(border_sprite) = theme.border_texture() { assert!(border_sprite.height() <= 512); let border_width = (border_sprite.height() / 2) as u8; + let border_sprite = border_sprite.to_tiled(); let mut offsets = vec![255u8; land.width()];