share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/epil.lua
changeset 15168 e1dbe2c9026f
parent 15068 6f51c75994a4
equal deleted inserted replaced
15167:9d4a6ab60dec 15168:e1dbe2c9026f
   495 function onPrecise()
   495 function onPrecise()
   496   if GameTime > 2500 then
   496   if GameTime > 2500 then
   497     SetAnimSkip(true)
   497     SetAnimSkip(true)
   498   end
   498   end
   499 end
   499 end
       
   500 
       
   501 function onGameResult(winner)
       
   502   AddCaption(loc("Game over!"), capcolDefault, capgrpGameState)
       
   503   SendStat(siGameResult, loc("You have successfully finished the campaign!"))
       
   504 end