Restore dropping bubblegum after shield explosion
This commit is contained in:
parent
78f96d4818
commit
e0a5bd1027
@ -606,9 +606,8 @@ void Attachment::update(int ticks)
|
||||
}
|
||||
case ATTACH_BUBBLEGUM_SHIELD:
|
||||
case ATTACH_NOLOK_BUBBLEGUM_SHIELD:
|
||||
if (m_ticks_left < 0)
|
||||
if (m_ticks_left <= 0)
|
||||
{
|
||||
m_ticks_left = 0;
|
||||
if (m_bubble_explode_sound) m_bubble_explode_sound->deleteSFX();
|
||||
m_bubble_explode_sound =
|
||||
SFXManager::get()->createSoundSource("bubblegum_explode");
|
||||
|
Loading…
Reference in New Issue
Block a user