mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
Actually fix discord crash
This commit is contained in:
parent
cd1a91a74c
commit
d63e65cd4a
1 changed files with 2 additions and 3 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue