From 9449af45ab487980be3a677739b94f81b474bc19 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Mon, 24 May 2021 16:02:15 +0000 Subject: [PATCH] Fixed discordrpc level update --- src/pc/discord/discordrpc.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pc/discord/discordrpc.cpp b/src/pc/discord/discordrpc.cpp index d7c4736b..bac1f65e 100644 --- a/src/pc/discord/discordrpc.cpp +++ b/src/pc/discord/discordrpc.cpp @@ -62,8 +62,6 @@ Discord_UpdatePresence discordUpdatePresence; static s16 lastCourseNum = -1; static s16 lastActNum = -1; -static int64_t timestamp; - bool reloadRPC = false; static char stage[188]; static char act[188]; @@ -159,9 +157,7 @@ static void init_discord(void) { static void set_time(void){ if (lastCourseNum != gCurrCourseNum) { - timestamp = 0; discordRichPresence.startTimestamp = time(0); - lastCourseNum = gCurrCourseNum; } }