mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-07 08:01:16 +00:00
Clear discord party id and secrets when not in-game
This commit is contained in:
parent
4dfcfb3b68
commit
8477a285a9
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ void discord_activity_update(void) {
|
|||
sCurActivity.party.size.current_size = network_player_connected_count();
|
||||
sCurActivity.party.size.max_size = gServerSettings.maxPlayers;
|
||||
} else {
|
||||
snprintf(sCurActivity.party.id, 128, "%s", "");
|
||||
snprintf(sCurActivity.secrets.join, 128, "%s", "");
|
||||
sCurActivity.party.size.current_size = 1;
|
||||
sCurActivity.party.size.max_size = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue