Set discord network system on shutdown
This commit is contained in:
parent
934d41a44e
commit
394733ffc7
|
@ -451,6 +451,10 @@ void network_shutdown(bool sendLeaving, bool exiting) {
|
||||||
|
|
||||||
gNetworkType = NT_NONE;
|
gNetworkType = NT_NONE;
|
||||||
|
|
||||||
|
#ifdef DISCORD_SDK
|
||||||
|
network_set_system(NS_DISCORD);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (exiting) { return; }
|
if (exiting) { return; }
|
||||||
|
|
||||||
// reset other stuff
|
// reset other stuff
|
||||||
|
|
Loading…
Reference in New Issue