Update GameActivityToggle.plugin.js

This commit is contained in:
Mirco Wittrien 2022-04-22 18:03:46 +02:00
parent 6a57b9402f
commit 7005fb07e3
1 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
* @name GameActivityToggle * @name GameActivityToggle
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 1.0.9 * @version 1.1.0
* @description Adds a Quick-Toggle Game Activity Button * @description Adds a Quick-Toggle Game Activity Button
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -17,12 +17,12 @@ module.exports = (_ => {
"info": { "info": {
"name": "GameActivityToggle", "name": "GameActivityToggle",
"author": "DevilBro", "author": "DevilBro",
"version": "1.0.9", "version": "1.1.0",
"description": "Adds a Quick-Toggle Game Activity Button" "description": "Adds a Quick-Toggle Game Activity Button"
}, },
"changeLog": { "changeLog": {
"added": { "fixed": {
"Global Hotkey": "" "Global Hotkey": "Now properly saves"
} }
} }
}; };
@ -185,7 +185,7 @@ module.exports = (_ => {
reset: true, reset: true,
onChange: value => { onChange: value => {
keybind = value; keybind = value;
BDFDB.DataUtils.save(this, "keybind", keybind) BDFDB.DataUtils.save(keybind, this, "keybind")
this.activateKeybind(); this.activateKeybind();
} }
}) })