share/hedgewars/Data/Scripts/SpeedShoppa.lua
changeset 13742 2bb7141496a9
parent 13583 141cdfe0f3ca
child 14252 74bf2d906097
--- a/share/hedgewars/Data/Scripts/SpeedShoppa.lua	Sun Sep 02 20:57:33 2018 +0200
+++ b/share/hedgewars/Data/Scripts/SpeedShoppa.lua	Sun Sep 02 21:26:44 2018 +0200
@@ -175,7 +175,7 @@
 				local time = startTime - endTime
 				SendStat(siPlayerKills, tostring(time), params.teamName)
 				SendStat(siCustomAchievement, string.format(loc("You have finished the challenge in %.3f s."), (time/1000)))
-				TurnTimeLeft = 0
+				SetTurnTimeLeft(0)
 			else
 				SendStat(siGameResult, loc("Challenge failed!"))
 				SendStat(siPointType, loc("crate(s)"))