From 2f552889b6a4f56a606ba9375a966a62a0b29b18 Mon Sep 17 00:00:00 2001 From: zibetnu Date: Wed, 23 Oct 2024 12:59:08 -0600 Subject: [PATCH] [licenses] Fix crash in release mode export --- addons/licenses/component.gd | 2 +- addons/licenses/plugin.cfg | 2 +- doc/docs/addons/licenses.md | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) 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