revert to 16x16 rooms as that covers standard bitsy as well as bitsy hd

This commit is contained in:
Max Bradbury 2020-04-24 18:11:27 +01:00
parent c4158e2b66
commit f2d9f84307
1 changed files with 1 additions and 2 deletions

View File

@ -137,8 +137,7 @@ impl Room {
let mut exits = String::new();
let mut endings = String::new();
let sqrt = (self.tiles.len() as f64).sqrt() as usize; // 8 for SD, 16 for HD
for line in self.tiles.chunks(sqrt) {
for line in self.tiles.chunks(16) {
for tile in line {
tiles.push_str(tile);
if room_format == RoomFormat::CommaSeparated {