Skip to content

Commit

Permalink
fixed wrong array name
Browse files Browse the repository at this point in the history
  • Loading branch information
vaporvee authored Apr 25, 2023
1 parent 90d6d9d commit 2fcb6d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project/addons/discord-sdk-gd/export.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
extends EditorExportPlugin

func _export_file(path, type, features):
if path[2] == "windows":
if features[2] == "windows":
add_shared_object("res://addons/discord-sdk-gd/bin/windows/discord_game_sdk.dll",[],"/")
elif path[2] == "linux":
elif features[2] == "linux":
add_shared_object("res://addons/discord-sdk-gd/bin/linux/discord_game_sdk.so",[],"/")
elif path[2] == "macos":
elif features[2] == "macos":
add_shared_object("res://addons/discord-sdk-gd/bin/macos/discord_game_sdk.dylib",[],"/")

0 comments on commit 2fcb6d2

Please sign in to comment.