Don't replay goo sound during rewind

This commit is contained in:
Benau 2019-04-09 09:14:23 +08:00
parent 6305e9d1fc
commit de1cd8e982

View File

@ -1152,6 +1152,7 @@ void Kart::collectedItem(ItemState *item_state)
m_kart_properties->getBubblegumSpeedFraction() ,
m_kart_properties->getBubblegumFadeInTicks(),
m_bubblegum_ticks);
if (!RewindManager::get()->isRewinding())
getNextEmitter()->play(getXYZ(), m_goo_sound);
// Play appropriate custom character sound