From 867c442e4ecbb8f2f5c547afcaddf320d3853964 Mon Sep 17 00:00:00 2001 From: Shomy <61943525+shomykohai@users.noreply.github.com> Date: Wed, 10 Jul 2024 08:20:48 +0200 Subject: [PATCH] Change wording for get_resource workaround --- addons/pandora/model/entity.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/pandora/model/entity.gd b/addons/pandora/model/entity.gd index 15fee9e..b3c77c8 100644 --- a/addons/pandora/model/entity.gd +++ b/addons/pandora/model/entity.gd @@ -526,7 +526,7 @@ func get_resource(property_name: String) -> Resource: if not has_entity_property(property_name): push_warning("unknown resource property %s on entity %s" % [property_name, get_entity_id()]) return null - # HACK: For some reason in Godot 4.3, resource properties are + # FIXME: For some reason in Godot 4.3, resource properties are # are considered Strings on exported builds with GDScript mode set to binary tokens. # Here, instead of returning the default value and casting it to Resource, # we check its type and we handle it accordingly.