mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Set discord network system on shutdown
This commit is contained in:
parent
ad09ecd8ef
commit
ceaf41ae14
1 changed files with 4 additions and 0 deletions
|
|
@ -451,6 +451,10 @@ void network_shutdown(bool sendLeaving, bool exiting) {
|
|||
|
||||
gNetworkType = NT_NONE;
|
||||
|
||||
#ifdef DISCORD_SDK
|
||||
network_set_system(NS_DISCORD);
|
||||
#endif
|
||||
|
||||
if (exiting) { return; }
|
||||
|
||||
// reset other stuff
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue