hedgewars/uGearsHedgehog.pas
changeset 14968 2d5f1dc637da
parent 14945 8b848c2939da
child 15001 7ff86274114e
--- a/hedgewars/uGearsHedgehog.pas	Wed May 15 19:43:53 2019 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Wed May 15 20:40:37 2019 +0200
@@ -1314,7 +1314,7 @@
     if TagTurnTimeLeft = 0 then
         TagTurnTimeLeft:= TurnTimeLeft;
     TurnTimeLeft:= 0;
-    if (GameOver = false) and ((GameFlags and gfInfAttack) = 0) and ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) and (LuaNoEndTurnTaunts = false) then
+    if (GameOver = false) and ((GameFlags and gfInfAttack) = 0) and ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) and (LuaNoEndTurnTaunts = false) and (uStats.getIsTurnSkipped() = false) then
         begin
         AddVoice(sndBoring, Hedgehog^.Team^.voicepack);
         if (GameFlags and gfInfAttack = 0) then