Actually fix discord crash

This commit is contained in:
MysterD 2023-04-15 23:43:51 -07:00
parent cd1a91a74c
commit d63e65cd4a

View file

@ -158,9 +158,8 @@ u64 discord_get_user_id(void) {
void discord_update(void) {
if (sDiscordFailed) { return; }
if (!sDiscordInitialized) {
discord_initialize();
}
if (!sDiscordInitialized) { discord_initialize(); }
if (sDiscordFailed) { return; }
discord_activity_update_check();
DISCORD_REQUIRE(app.core->run_callbacks(app.core));