Fixed enable/disable bug in discord-integration

This commit is contained in:
Starman0620 2021-04-21 11:58:58 -04:00
parent 7d6ecf923b
commit 61ebff209b

View File

@ -42,15 +42,14 @@ public:
} }
void enable() { void enable() {
startPresence();
workerRunning = true; workerRunning = true;
enabled = true; enabled = true;
} }
void disable() { void disable() {
Discord_ClearPresence();
workerRunning = false; workerRunning = false;
enabled = false; enabled = false;
Discord_ClearPresence();
} }
bool isEnabled() { bool isEnabled() {