1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-10-12 14:01:58 +00:00
* Fixed: The setting to hide the bits leaderboard at the top of chat.
* Fixed: Bug where disabling a module would leave its state as enabled.
* Changed: The FFZ Control Center button in the navigation bar will now indicate when add-ons have been loaded from a local development server.
This commit is contained in:
SirStendec 2019-09-12 17:12:32 -04:00
parent 6399a3d97d
commit 5ad0e94a0f
5 changed files with 27 additions and 7 deletions

View file

@ -303,13 +303,13 @@ export class Module extends EventEmitter {
return this.onDisable(...args);
})().then(ret => {
this.__state = State.ENABLED;
this.__state = State.DISABLED;
this.__state_promise = null;
this.emit(':disabled', this);
return ret;
}).catch(err => {
this.__state = State.DISABLED;
this.__state = State.ENABLED;
this.__state_promise = null;
throw err;
});