share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua
changeset 12430 c461a224ec09
parent 12341 c73521104fac
child 12940 39b7b3ed619e
--- a/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua	Thu May 18 00:57:15 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua	Thu Jun 15 15:50:23 2017 +0200
@@ -539,7 +539,9 @@
 
     AddCaption(string.format(loc("%s has mutated! +2 points"), getGearValue(gear, "Name")), GetClanColor(GetHogClan(gear)), capgrpMessage)
 
-    EndTurn(true)
+    if TurnTimeLeft > 0 then
+        EndTurn(true)
+    end
 
     AddVisualGear(GetX(gear), GetY(gear), vgtSmokeRing, 0, false)
     AddVisualGear(GetX(gear), GetY(gear), vgtSmokeRing, 0, false)