diff --git a/[Library]/assetify_library/meta.xml b/[Library]/assetify_library/meta.xml index d6f0fa0..6b71f65 100644 --- a/[Library]/assetify_library/meta.xml +++ b/[Library]/assetify_library/meta.xml @@ -1,6 +1,6 @@ - + diff --git a/[Library]/assetify_library/utilities/sandbox/discord.lua b/[Library]/assetify_library/utilities/sandbox/discord.lua index 2413dda..db7c4e6 100644 --- a/[Library]/assetify_library/utilities/sandbox/discord.lua +++ b/[Library]/assetify_library/utilities/sandbox/discord.lua @@ -41,7 +41,6 @@ end if localPlayer then if settings.discord and settings.discord.appID then thread:createHeartbeat(function() - imports.resetDiscordRichPresenceData() local userID = settings.discord.userID settings.discord.userID = false imports.setDiscordApplicationID(settings.discord.appID) @@ -69,6 +68,8 @@ if localPlayer then end return true end, function() end, settings.discord.trackRate) + else + imports.resetDiscordRichPresenceData() end else network:create("Assetify:Discord:KickPlayer"):on(function(player, reason) kickPlayer(player, reason) end)