mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +00:00
Discord client hotfix
This commit is contained in:
parent
e0815520b7
commit
3bf9db3bbc
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ static void on_activity_join_callback(UNUSED void* data, enum EDiscordResult res
|
|||
discord_activity_update(false);
|
||||
|
||||
if (gNetworkType == NT_CLIENT) {
|
||||
if (gNetworkPlayerServer == NULL) {
|
||||
network_player_connected(NPT_SERVER, 0, 0, 0, "Player");
|
||||
}
|
||||
ns_discord_save_id(gNetworkPlayerServer->localIndex, lobby->owner_id);
|
||||
network_send_join_request();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue