mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +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);
|
discord_activity_update(false);
|
||||||
|
|
||||||
if (gNetworkType == NT_CLIENT) {
|
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);
|
ns_discord_save_id(gNetworkPlayerServer->localIndex, lobby->owner_id);
|
||||||
network_send_join_request();
|
network_send_join_request();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue