Hopefully fix bug
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user