Prevented coin sound spam when entering a level

This commit is contained in:
MysterD 2021-08-23 19:07:32 -07:00
parent 09bfe9cd0e
commit caa38b2df5
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ void network_receive_level(struct Packet* p) {
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;
// hacky way to override red coins collected
gRedCoinsCollected = redCoinsCollected;