diff --git a/tiled/src/lib.rs b/tiled/src/lib.rs index 152c8758..76e8fd74 100644 --- a/tiled/src/lib.rs +++ b/tiled/src/lib.rs @@ -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,