From b067201b0d37364587a8b5394e2f925767e515cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabrielius=20Mickevi=C4=8Dius?= Date: Wed, 24 Jan 2024 19:47:28 +0100 Subject: [PATCH] [ldtk] Fix tile field type name --- plugins/ldtk/runtime/src/ceramic/LdtkData.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ldtk/runtime/src/ceramic/LdtkData.hx b/plugins/ldtk/runtime/src/ceramic/LdtkData.hx index faf748f76..2f7cb35f4 100644 --- a/plugins/ldtk/runtime/src/ceramic/LdtkData.hx +++ b/plugins/ldtk/runtime/src/ceramic/LdtkData.hx @@ -2866,7 +2866,7 @@ class LdtkFieldInstance { return Color.fromString(rawValue); case 'Point': return new Point(Std.int(Reflect.field(rawValue, 'cx')), Std.int(Reflect.field(rawValue, 'cy'))); - case 'TilesetRect': + case 'Tile': return new LdtkTilesetRectangle(ldtkData, rawValue); case 'EntityRef': return ldtkData != null ? ldtkData._resolveEntityInstance(rawValue, ldtkWorld) : null;