share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork_2.lua
changeset 12352 7f09d01ecb45
parent 12228 8b523acb3220
child 12353 ebff18a44c1e
--- a/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork_2.lua	Thu Apr 27 02:42:40 2017 +0200
+++ b/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork_2.lua	Thu Apr 27 03:11:50 2017 +0200
@@ -107,10 +107,8 @@
 	if gear == Pack then
 		HogSay(CurrentHedgehog, loc("This will certianly come in handy."), SAY_THINK)
 	end
-	if (gear == enemy) and (GameOver == false) then
-		ShowMission(loc("Teamwork 2"), loc("MISSION SUCCESSFUL"), loc("Congratulations!"), 0, 0)
-		GameOver = true
-	elseif ( ((gear == player) or (gear == hlayer)) and (GameOver == false)) then
+	-- Note: The victory sequence is done automatically by Hedgewars
+	if ( ((gear == player) or (gear == hlayer)) and (GameOver == false)) then
 		ShowMission(loc("Teamwork 2"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0)
 		GameOver = true
 		SetHealth(hlayer, 0)