mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Clear controller values on disconnect
This commit is contained in:
parent
15de1d5609
commit
aed0d4cb3a
1 changed files with 1 additions and 0 deletions
|
@ -472,6 +472,7 @@ void network_shutdown(bool sendLeaving, bool exiting) {
|
|||
extern s16 gChangeLevel;
|
||||
gChangeLevel = LEVEL_CASTLE_GROUNDS;
|
||||
network_player_init();
|
||||
memset(gMarioStates[0].controller, 0, sizeof(struct Controller));
|
||||
|
||||
extern s16 gMenuMode;
|
||||
gMenuMode = -1;
|
||||
|
|
Loading…
Reference in a new issue