diff -r d2e477eee433 -r 9d4a6ab60dec share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua Mon Jun 17 00:10:18 2019 +0200 +++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua Mon Jun 17 19:20:02 2019 +0200 @@ -1162,3 +1162,10 @@ end end +function onGameResult(winner) + if winner == GetTeamClan(nativesTeamName) then + SendStat(siGameResult, loc("Mission succeeded!")) + else + SendStat(siGameResult, loc("Mission failed!")) + end +end