Fixed sync of ttc speed setting and pss slide started

This commit is contained in:
MysterD 2022-05-27 20:02:19 -07:00
parent 1fec13a0cb
commit f9daef3839

View file

@ -66,9 +66,7 @@ void network_receive_level(struct Packet* p) {
}
// read level variables
u8 redCoinsCollected;
packet_read(p, &gMarioStates[0].numCoins, sizeof(s16));
packet_read(p, &redCoinsCollected, sizeof(u8));
packet_read(p, &gPssSlideStarted, sizeof(u8));
packet_read(p, &gTTCSpeedSetting, sizeof(s16)); // likely doesn't work after level load.. but it could
gHudDisplay.coins = gMarioStates[0].numCoins;