--- a/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork.lua Mon Nov 19 17:56:49 2018 +0100
+++ b/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork.lua Mon Nov 19 18:18:06 2018 +0100
@@ -87,8 +87,9 @@
HogSay(CurrentHedgehog, loc("Hmmm..."), SAY_THINK)
end
- if GetGearType(gear) == gtCase then
+ if (GetGearType(gear) == gtCase) and (band(GetGearMessage(gear), gmDestroy) ~= 0) then
SetTurnTimeLeft(TurnTimeLeft + 5000)
+ PlaySound(sndExtraTime)
end
-- Note: The victory sequence is done automatically by Hedgewars
if ( ((gear == player) or (gear == p2)) and (GameOver == false)) then