diff --git a/Runtime/MP1/MP1.cpp b/Runtime/MP1/MP1.cpp index 3e59e411e..3c1735d0d 100644 --- a/Runtime/MP1/MP1.cpp +++ b/Runtime/MP1/MP1.cpp @@ -633,7 +633,7 @@ static u32 DiscordItemPercent = 0xffffffff; static std::string DiscordState; void CMain::InitializeDiscord() { - DiscordStartTime = time(0); + DiscordStartTime = std::time(nullptr); DiscordEventHandlers handlers = {}; handlers.ready = HandleDiscordReady; handlers.disconnected = HandleDiscordDisconnected;