This commit is contained in:
Mirco Wittrien 2022-10-02 16:21:59 +02:00
commit 7dedd938b0
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ module.exports = (_ => {
let SettingsStore = BDFDB.DiscordUtils.getSettingsStore(); let SettingsStore = BDFDB.DiscordUtils.getSettingsStore();
if (SettingsStore) BDFDB.PatchUtils.patch(this, SettingsStore, "updateAsync", {after: e => { if (SettingsStore) BDFDB.PatchUtils.patch(this, SettingsStore, "updateAsync", {after: e => {
if (e.methodArguments[0] != "status") return;
let newSettings = {value: undefined}; let newSettings = {value: undefined};
e.methodArguments[1](newSettings); e.methodArguments[1](newSettings);
if (newSettings.showCurrentGame != undefined) { if (newSettings.showCurrentGame != undefined) {