hedgewars/uGearsHedgehog.pas
changeset 12327 9aa483762025
parent 12323 f4d3810a3b54
child 12436 031af5544333
--- a/hedgewars/uGearsHedgehog.pas	Tue Apr 25 02:50:28 2017 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Tue Apr 25 04:54:46 2017 +0200
@@ -1239,7 +1239,7 @@
     if TagTurnTimeLeft = 0 then
         TagTurnTimeLeft:= TurnTimeLeft;
     TurnTimeLeft:= 0;
-    if ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) and (LuaNoEndTurnTaunts = false) then
+    if (GameOver = false) and ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) and (LuaNoEndTurnTaunts = false) then
         begin
         AddVoice(sndBoring, Hedgehog^.Team^.voicepack);
         if (GameFlags and gfInfAttack = 0) then