Fixed discordrpc level update

This commit is contained in:
KiritoDv 2021-05-24 16:02:15 +00:00
parent 1f07882b49
commit 9449af45ab
1 changed files with 0 additions and 4 deletions

View File

@ -62,8 +62,6 @@ Discord_UpdatePresence discordUpdatePresence;
static s16 lastCourseNum = -1; static s16 lastCourseNum = -1;
static s16 lastActNum = -1; static s16 lastActNum = -1;
static int64_t timestamp;
bool reloadRPC = false; bool reloadRPC = false;
static char stage[188]; static char stage[188];
static char act[188]; static char act[188];
@ -159,9 +157,7 @@ static void init_discord(void) {
static void set_time(void){ static void set_time(void){
if (lastCourseNum != gCurrCourseNum) { if (lastCourseNum != gCurrCourseNum) {
timestamp = 0;
discordRichPresence.startTimestamp = time(0); discordRichPresence.startTimestamp = time(0);
lastCourseNum = gCurrCourseNum;
} }
} }