Set netplay_enabled to false during deinit_netplay

This simply prevents the odd behavior of netplay automatically
restarting, or trying to restart, when you load a new game.
This commit is contained in:
Gregor Richards 2017-01-25 21:23:55 -05:00
parent bdaf00032e
commit 263470a66c

View File

@ -885,6 +885,7 @@ void deinit_netplay(void)
if (netplay_data)
netplay_free(netplay_data);
netplay_data = NULL;
netplay_enabled = false;
core_unset_netplay_callbacks();
}