Set discord network system on shutdown

This commit is contained in:
MysterD 2022-05-11 18:11:53 -07:00
parent 934d41a44e
commit 394733ffc7
1 changed files with 4 additions and 0 deletions

View File

@ -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