From e0a5bd1027ceb1dcda466297b4a7b8931e62ebf1 Mon Sep 17 00:00:00 2001 From: Deve Date: Fri, 20 Apr 2018 22:04:29 +0200 Subject: [PATCH] Restore dropping bubblegum after shield explosion --- src/items/attachment.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/items/attachment.cpp b/src/items/attachment.cpp index 3ef6ab2a2..7f894b029 100644 --- a/src/items/attachment.cpp +++ b/src/items/attachment.cpp @@ -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");