diff --git a/SConstruct b/SConstruct index c9226ef..fb2f1c9 100644 --- a/SConstruct +++ b/SConstruct @@ -28,7 +28,7 @@ else: # make sure our binding library is properly includes env.Append(LIBPATH=["src/lib/discord_game_sdk/bin/"]) sources = Glob("src/lib/discord_game_sdk/cpp/*.cpp") -env.Append(CPPPATH=["src/lib/discord_game_sdk/cpp/"]) +env.Append(CPPPATH=["src/lib/discord_game_sdk/cpp/"]) # this line for some reason doesn't get understanded by most linux distros env.Append(LIBS=["discord_game_sdk"]) # tweak this if you want to use different folders, or more folders, to store your source code in. 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 c5950fb..fc08e8f 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 ccd5229..890aa19 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/src/discordgodot.cpp b/src/discordgodot.cpp index c5dc0ff..c31c7ab 100644 --- a/src/discordgodot.cpp +++ b/src/discordgodot.cpp @@ -112,7 +112,7 @@ void Discord_Activity::set_app_id(int64_t value) int64_t Discord_Activity::get_app_id() { if (app_id = 461618159171141643) - return NULL; + return 0; else return app_id; }