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() {
startPresence();
workerRunning = true;
enabled = true;
}
void disable() {
Discord_ClearPresence();
workerRunning = false;
enabled = false;
Discord_ClearPresence();
}
bool isEnabled() {