--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/family.lua Thu Jun 12 20:47:11 2014 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/family.lua Thu Jun 12 21:25:39 2014 +0200
@@ -287,7 +287,7 @@
if progress and progress<7 then
SaveCampaignVar("Progress", "7")
end
- ParseCommand("teamgone " .. loc("011101001"))
+ DismissTeam(loc("011101001"))
TurnTimeLeft = 0
end
@@ -339,8 +339,8 @@
function EndMission()
RemoveEventFunc(CheckPrincessFreed)
AddCaption("So the princess was never heard of again...")
- ParseCommand("teamgone " .. loc("Natives"))
- ParseCommand("teamgone " .. loc("011101001"))
+ DismissTeam(loc("Natives"))
+ DismissTeam(loc("011101001"))
TurnTimeLeft = 0
end