rust/mapgen/src/lib.rs
changeset 14196 76a52e8149e3
parent 14191 a4c1a2d0ac24
child 14723 29dbe9ce8b7d
--- 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()];