--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua Fri May 31 13:21:43 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua Fri May 31 15:04:43 2019 +0200
@@ -278,6 +278,13 @@
end
end
+function onGearAdd(gear)
+ -- Delete sticky flames to reduce the waiting time after blowing up the barrels
+ if GetGearType(gear) == gtFlame and band(GetState(gear), gsttmpFlag) ~= 0 then
+ DeleteGear(gear)
+ end
+end
+
function onGearDelete(gear)
if gear == hero.gear then
hero.dead = true