Skip to content

Commit

Permalink
Corrected the type of Map.hex_side_length (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn authored Oct 26, 2024
1 parent 31783f0 commit 7e2bcb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub struct Map {
/// will be the same as the one from the tilesets the map is using.
pub tile_height: u32,
/// The length of the side of a hexagonal tile in pixels (used by tile layers on hexagonal maps).
pub hex_side_length: Option<u32>,
pub hex_side_length: Option<i32>,
/// The stagger axis of Hexagonal/Staggered map.
pub stagger_axis: StaggerAxis,
/// The stagger index of Hexagonal/Staggered map.
Expand Down

0 comments on commit 7e2bcb6

Please sign in to comment.