--- a/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua Wed Apr 26 18:53:11 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua Wed Apr 26 19:00:32 2017 +0200
@@ -323,7 +323,7 @@
SetHealth(mutant,0)
mt_hurt= false
setGearValue(mutant,"SelfDestruct",true)
- TurnTimeLeft = 0
+ EndTurn()
end
end
end
@@ -411,7 +411,7 @@
if gameOver then
SendStat(siGraphTitle, loc("Score graph"))
- TurnTimeLeft = 0
+ EndTurn(true)
teamsSorted = {}
@@ -539,7 +539,7 @@
AddCaption(string.format(loc("%s has mutated! +2 points"), getGearValue(gear, "Name")), GetClanColor(GetHogClan(gear)), capgrpMessage)
- TurnTimeLeft=0
+ EndTurn(true)
AddVisualGear(GetX(gear), GetY(gear), vgtSmokeRing, 0, false)
AddVisualGear(GetX(gear), GetY(gear), vgtSmokeRing, 0, false)