diff --git a/addons/licenses/component.gd b/addons/licenses/component.gd index eea3514..a52b276 100644 --- a/addons/licenses/component.gd +++ b/addons/licenses/component.gd @@ -106,7 +106,7 @@ func _get_property_list() -> Array: { "name": "licenses", "type": TYPE_ARRAY, - "constructor": License.new, + "constructor": func() -> License: return License.new(), }, ] diff --git a/addons/licenses/plugin.cfg b/addons/licenses/plugin.cfg index 14d1d51..7bae099 100644 --- a/addons/licenses/plugin.cfg +++ b/addons/licenses/plugin.cfg @@ -3,7 +3,7 @@ name="License Manager" description="Manage license and copyright for third party graphics, software or libraries." author="Iceflower S" -version="1.8.0" +version="1.8.1" script="plugin.gd" license="MIT" repository="https://github.com/kenyoni-software/godot-addons" diff --git a/doc/docs/addons/licenses.md b/doc/docs/addons/licenses.md index 2a32811..3858cc8 100644 --- a/doc/docs/addons/licenses.md +++ b/doc/docs/addons/licenses.md @@ -149,6 +149,10 @@ License class. ## Changelog +### 1.8.1 + +- Fix crash when running a project exported in release mode + ### 1.8.0 - Require Godot 4.3