Hopefully fix bug

This commit is contained in:
NeeEoo
2023-08-11 12:48:20 +02:00
parent b88772aa6f
commit 4bdb8c05d8
2 changed files with 23 additions and 17 deletions
+1 -1
View File
@@ -98,8 +98,8 @@ class DiscordUtil {
#if GLOBAL_SCRIPT
var event = funkin.backend.scripting.GlobalScript.event("onDiscordPresenceUpdate", EventManager.get(DiscordPresenceUpdateEvent).recycle(data));
if (event.cancelled) return;
#end
DiscordRpc.presence(data);
#end
}