share/hedgewars/Data/Scripts/SpeedShoppa.lua
changeset 13034 fe9c12209f15
parent 12224 d62d6f8ebef1
child 13065 a297e06d1607
--- a/share/hedgewars/Data/Scripts/SpeedShoppa.lua	Mon Feb 19 11:18:13 2018 +0100
+++ b/share/hedgewars/Data/Scripts/SpeedShoppa.lua	Mon Feb 19 13:46:40 2018 +0100
@@ -162,6 +162,7 @@
 		if not gameEnded then
 			if cratesCollected == #crates then
 				PlaySound(sndVictory, playerHog)
+				SetEffect(playerHog, heInvulnerable, 1)
 				SetState(playerHog, bor(GetState(playerHog), gstWinner))
 				SetState(playerHog, band(GetState(playerHog), bnot(gstHHDriven)))
 				AddCaption(loc("Challenge completed!"))