From 4f852046036ebdb2f024598ebb607d8f5f5436c7 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sun, 2 Oct 2022 08:46:13 +0200 Subject: [PATCH] Update GameActivityToggle.plugin.js --- Plugins/GameActivityToggle/GameActivityToggle.plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/GameActivityToggle/GameActivityToggle.plugin.js b/Plugins/GameActivityToggle/GameActivityToggle.plugin.js index 718c4b89a8..1c739b9723 100644 --- a/Plugins/GameActivityToggle/GameActivityToggle.plugin.js +++ b/Plugins/GameActivityToggle/GameActivityToggle.plugin.js @@ -130,6 +130,7 @@ module.exports = (_ => { let SettingsStore = BDFDB.DiscordUtils.getSettingsStore(); if (SettingsStore) BDFDB.PatchUtils.patch(this, SettingsStore, "updateAsync", {after: e => { + if (e.methodArguments[0] != "status") return; let newSettings = {value: undefined}; e.methodArguments[1](newSettings); if (newSettings.showCurrentGame != undefined) {