From 90f433514895974696cb68c4d34f485090641b27 Mon Sep 17 00:00:00 2001 From: thatguydoru Date: Sun, 3 Mar 2024 02:45:42 +0800 Subject: [PATCH] fix: objectlayer -> objectgroup for layer case --- tiled/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,