mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-05 15:11:16 +00:00
Disable discord error popups
This commit is contained in:
parent
770c684856
commit
a93a9588f7
1 changed files with 4 additions and 3 deletions
|
@ -23,9 +23,10 @@ static void discord_sdk_log_callback(UNUSED void* hook_data, enum EDiscordLogLev
|
|||
}
|
||||
|
||||
void discord_fatal_message(int rc) { // Discord usually does this because of loss of connection to Discord
|
||||
char errorMessage[132] = { 0 };
|
||||
LOG_ERROR("Discord fatal: %d", rc);
|
||||
/*char errorMessage[132] = { 0 };
|
||||
snprintf(errorMessage, 132, "%s\nRC: %d", DLANG(NOTIF, DISCORD_ERROR), rc);
|
||||
djui_popup_create(errorMessage, 6);
|
||||
djui_popup_create(errorMessage, 6);*/
|
||||
}
|
||||
|
||||
void discord_fatal(int rc) {
|
||||
|
@ -127,7 +128,7 @@ static void discord_initialize(void) {
|
|||
|
||||
if (rc) {
|
||||
LOG_ERROR("DiscordCreate failed: %d", rc);
|
||||
djui_popup_create(DLANG(NOTIF, DISCORD_DETECT), 3);
|
||||
//djui_popup_create(DLANG(NOTIF, DISCORD_DETECT), 3);
|
||||
sDiscordFailed = true;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue