mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 21:45:12 +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;
|
extern s16 gChangeLevel;
|
||||||
gChangeLevel = LEVEL_CASTLE_GROUNDS;
|
gChangeLevel = LEVEL_CASTLE_GROUNDS;
|
||||||
network_player_init();
|
network_player_init();
|
||||||
|
memset(gMarioStates[0].controller, 0, sizeof(struct Controller));
|
||||||
|
|
||||||
extern s16 gMenuMode;
|
extern s16 gMenuMode;
|
||||||
gMenuMode = -1;
|
gMenuMode = -1;
|
||||||
|
|
Loading…
Reference in a new issue