Call EndTurn(true) instead of TurnTimeLeft(0) in flying saucer training
authorWuzzy <Wuzzy2@mail.ru>
Tue, 04 Sep 2018 22:18:03 +0200
changeset 13765 29abd3d5f9bb
parent 13764 f5eea79da795
child 13766 c46998ecd8fa
Call EndTurn(true) instead of TurnTimeLeft(0) in flying saucer training
share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua	Tue Sep 04 20:38:15 2018 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua	Tue Sep 04 22:18:03 2018 +0200
@@ -198,7 +198,7 @@
 	SendStat(siCustomAchievement, loc("Good job!"))
 	SendStat(siPlayerKills, "0", loc("Hogonauts"))
 
-	SetTurnTimeLeft(0)
+	EndTurn(true)
 	EndGame()
 end,
 }