Dangerous Ducklings: Enter retreat mode after kill
authorWuzzy <Wuzzy2@mail.ru>
Mon, 03 Sep 2018 00:15:55 +0200
changeset 13744 4b79bac864be
parent 13743 d7b72ea8d136
child 13745 be265ab8a4fb
Dangerous Ducklings: Enter retreat mode after kill
share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua
--- a/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua	Mon Sep 03 00:03:06 2018 +0200
+++ b/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua	Mon Sep 03 00:15:55 2018 +0200
@@ -136,14 +136,14 @@
 			gameLost = true
 		elseif (gear == instructor) and (GetY(gear) > WaterLine) then
 			HogSay(player, loc("See ya!"), SAY_THINK)
-			SetTurnTimeLeft(3000)
+			Retreat(3000)
 			awardAchievement(loc("Naughty Ninja"))
 			DismissTeam(loc("Blue Team"))
 			gameWon = true
 		elseif gear == enemy then
 			HogSay(player, loc("Enjoy the swim..."), SAY_THINK)
 			gameWon = true
-			SetTurnTimeLeft(3000)
+			Retreat(3000)
 		end
 
 	end