From 88a855d1daf870b701d38e14c01074d7d8e1428c Mon Sep 17 00:00:00 2001 From: Yannik <80621863+vaporvee@users.noreply.github.com> Date: Thu, 18 May 2023 15:49:36 +0200 Subject: [PATCH] fixed editor presence again --- .../bin/windows/discord_game_sdk_binding.dll | Bin 209408 -> 209408 bytes .../discord_game_sdk_binding_debug.dll | Bin 212480 -> 212480 bytes project/addons/discord-sdk-gd/plugin.gd | 2 +- project/project.godot | 4 ++++ 4 files changed, 5 insertions(+), 1 deletion(-) 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 aa17774c0f1a4d047078dde5806a991101fa188c..d33e9e47239bf7b805898f234a3adb40ef90378a 100644 GIT binary patch delta 33 ocmZp8!qf1CX8|MAf30RF#&#w~#_dduOi43<{OxHonP$xZ0K_W`i2wiq delta 33 ocmZp8!qf1CX8|LVja)MmV>=Tg<8~%Srlc7_{`Rz)OtWSH0IFjN>i_@% 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 1fc20a724f3fbdb6ef71963dd37a3f8d5b486c57..26d7814593c7e5a0a63422a944e1e849eb6645c8 100644 GIT binary patch delta 33 ocmZqp!_)AGX8|MA53Ob<#&#w~#_dduOi4?C{OxH=nP$xZ0LiNh!vFvP delta 33 ocmZqp!_)AGX8|LVsa!J?V>=Tg<8~%Srlci6{`Rz`OtWSH0I%Z;B>(^b 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"