share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 13362 8a9a723eb185
parent 13360 e27540ad33bd
child 13363 544867ac1017
--- a/share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua	Thu May 03 15:30:31 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua	Thu May 03 15:37:29 2018 +0200
@@ -48,6 +48,8 @@
 
 --Will end the turn + give escape time
 function EndTurnCS(seconds)
+	-- Set attacked state to prevent “Boring” sound to be played
+	SetState(CurrentHedgehog, bor(GetState(CurrentHedgehog), gstAttacked))
 	--set escape time
 	TurnTimeLeft = GetAwayTime*10*seconds
 	if TurnTimeLeft > 0 then