Skip to content

Commit

Permalink
fix: rename objectlayer to objectgroup as per tiled json spec
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguydoru committed Mar 2, 2024
1 parent 397dcda commit cf902c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiled/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ pub fn load_map(
layers.insert(
layer.name.clone(),
match layer.ty.as_str() {
"tilelayer" | "objectlayer" => Layer {
"tilelayer" | "objectgroup" => Layer {
objects,
width: layer.width,
height: layer.height,
Expand Down

0 comments on commit cf902c6

Please sign in to comment.