share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/family.lua
changeset 15188 9d4a6ab60dec
parent 15040 51fbc0034c6f
equal deleted inserted replaced
15187:d2e477eee433 15188:9d4a6ab60dec
   671 --  for i = 1, 5 do
   671 --  for i = 1, 5 do
   672 --    DeleteGear(cyborgs[i])
   672 --    DeleteGear(cyborgs[i])
   673 --  end
   673 --  end
   674 --  AddAmmo(natives[1], amTeleport, 100)
   674 --  AddAmmo(natives[1], amTeleport, 100)
   675 end
   675 end
       
   676 
       
   677 function onGameResult(winner)
       
   678   if winner == GetTeamClan(nativesTeamName) then
       
   679     SendStat(siGameResult, loc("Mission succeeded!"))
       
   680   else
       
   681     SendStat(siGameResult, loc("Mission failed!"))
       
   682   end
       
   683 end
       
   684