Fix spelling errors in the hat chooses the wizard

This commit is contained in:
Gwilym Kuiper 2022-11-17 21:23:05 +00:00
parent f6b5bb69b0
commit 51a315cb54

View file

@ -49,7 +49,7 @@ mod tiled_export {
})
.collect();
let tile_info = (0..tilemap.tilecount)
let tile_info = (0..tilemap.tile_count)
.map(|id| *tile_data.get(&id).unwrap_or(&0))
.map(|tile_type| tile_type.to_string())
.collect::<Vec<String>>()
@ -222,7 +222,7 @@ mod tiled_export {
#[derive(Deserialize)]
struct TiledTilemap {
tiles: Vec<TiledTile>,
tilecount: i32,
tile_count: i32,
}
#[derive(Deserialize)]