changeset 15188 | 9d4a6ab60dec |
parent 15089 | 6f51c75994a4 |
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/journey.lua Mon Jun 17 00:10:18 2019 +0200 +++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/journey.lua Mon Jun 17 19:20:02 2019 +0200 @@ -1222,3 +1222,10 @@ end end +function onGameResult(winner) + if winner == GetTeamClan(nativesTeamName) then + SendStat(siGameResult, loc("Mission succeeded!")) + else + SendStat(siGameResult, loc("Mission failed!")) + end +end