share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua
changeset 10290 42efccba0711
parent 9306 c9978ada9a3d
child 12054 030464f34d47
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua	Thu Jun 12 20:47:11 2014 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua	Thu Jun 12 21:25:39 2014 +0200
@@ -664,7 +664,7 @@
   AddAnim(stronglingsAnim)
   AddFunction({func = AfterStronglingsAnim, args = {}})
   stage = interWeakStage
-  ParseCommand("teamgone " .. loc("Weaklings"))
+  DismissTeam(loc("Weaklings"))
 end
 
 function CheckRefuse()
@@ -823,7 +823,7 @@
   AddCaption(loc("...and so the cyborgs took over the world..."))
   stage = loseStage
   TurnTimeLeft = 0
-  ParseCommand("teamgone " .. loc("Natives"))
+  DismissTeam(loc("Natives"))
 end
 
 function CheckDenseDead()