diff --git a/project/addons/discord-sdk-gd/bin/windows/discord_game_sdk_binding.dll b/project/addons/discord-sdk-gd/bin/windows/discord_game_sdk_binding.dll index aa17774..d33e9e4 100644 Binary files a/project/addons/discord-sdk-gd/bin/windows/discord_game_sdk_binding.dll and b/project/addons/discord-sdk-gd/bin/windows/discord_game_sdk_binding.dll differ diff --git a/project/addons/discord-sdk-gd/bin/windows/discord_game_sdk_binding_debug.dll b/project/addons/discord-sdk-gd/bin/windows/discord_game_sdk_binding_debug.dll index 1fc20a7..26d7814 100644 Binary files a/project/addons/discord-sdk-gd/bin/windows/discord_game_sdk_binding_debug.dll and b/project/addons/discord-sdk-gd/bin/windows/discord_game_sdk_binding_debug.dll differ diff --git a/project/addons/discord-sdk-gd/plugin.gd b/project/addons/discord-sdk-gd/plugin.gd index bfe3772..077797c 100644 --- a/project/addons/discord-sdk-gd/plugin.gd +++ b/project/addons/discord-sdk-gd/plugin.gd @@ -15,7 +15,7 @@ func _enter_tree() -> void: add_autoload_singleton("DiscordSDKLoader", "res://addons/discord-sdk-gd/nodes/core_updater.gd") add_export_plugin(loaded_exportplugin) -func _enable_plugin(): +func _enable_plugin() -> void: print("DiscordSDK Addon got enabled (PLEASE RESTART THE EDITOR)") ProjectSettings.set_setting("DiscordSDK/EditorPresence/enabled",false) ProjectSettings.set_initial_value("DiscordSDK/EditorPresence/enabled",false) diff --git a/project/project.godot b/project/project.godot index e0c93bb..469b60e 100644 --- a/project/project.godot +++ b/project/project.godot @@ -8,6 +8,10 @@ config_version=5 +[DiscordSDK] + +EditorPresence/enabled=true + [application] config/name="GDExtension DiscordSDK Test Project"