diff --git a/addons/licenses/plugin.gd b/addons/licenses/plugin.gd index bcec5fd..c34d39a 100644 --- a/addons/licenses/plugin.gd +++ b/addons/licenses/plugin.gd @@ -12,7 +12,7 @@ func _get_plugin_name() -> String: return "Licenses" func _enter_tree() -> void: - self.set_project_setting(Licenses.DATA_FILE, "res://licenses.json", TYPE_STRING, PROPERTY_HINT_FILE) + set_project_setting(Licenses.DATA_FILE, "res://licenses.json", TYPE_STRING, PROPERTY_HINT_FILE) self.export_plugin = ExportPlugin.new() self.add_export_plugin(self.export_plugin) @@ -23,6 +23,7 @@ func _enter_tree() -> void: func _exit_tree() -> void: self.remove_tool_menu_item(self._get_plugin_name() + "...") + self.licenses_dialog.queue_free() self.remove_export_plugin(self.export_plugin) func _show_popup() -> void: