share/hedgewars/Data/Missions/Training/User_Mission_-_Rope_Knock_Challenge.lua
changeset 10290 42efccba0711
parent 8043 da083f8d95e6
child 11687 594016813e06
--- a/share/hedgewars/Data/Missions/Training/User_Mission_-_Rope_Knock_Challenge.lua	Thu Jun 12 20:47:11 2014 +0200
+++ b/share/hedgewars/Data/Missions/Training/User_Mission_-_Rope_Knock_Challenge.lua	Thu Jun 12 21:25:39 2014 +0200
@@ -57,9 +57,9 @@
 				}
 
 function GenericEnd()
-	ParseCommand("teamgone " .. loc("Wannabe Shoppsta"))
-	ParseCommand("teamgone " .. loc("Unsuspecting Louts"))
-	ParseCommand("teamgone " .. loc("Unlucky Sods"))
+	DismissTeam(loc("Wannabe Shoppsta"))
+	DismissTeam(loc("Unsuspecting Louts"))
+	DismissTeam(loc("Unlucky Sods"))
 end
 
 function GameOverMan()