share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua
changeset 15172 9d4a6ab60dec
parent 15085 cd60866e6efb
equal deleted inserted replaced
15171:d2e477eee433 15172:9d4a6ab60dec
  1160     SetAnimSkip(true)
  1160     SetAnimSkip(true)
  1161     return
  1161     return
  1162   end
  1162   end
  1163 end
  1163 end
  1164 
  1164 
       
  1165 function onGameResult(winner)
       
  1166   if winner == GetTeamClan(nativesTeamName) then
       
  1167     SendStat(siGameResult, loc("Mission succeeded!"))
       
  1168   else
       
  1169     SendStat(siGameResult, loc("Mission failed!"))
       
  1170   end
       
  1171 end