# HG changeset patch # User Wuzzy # Date 1506550661 -7200 # Node ID 172157a479861f0a962c44caca63f6c5e03bec7c # Parent 392f90c79b7892477091e8b0085ebf50f81696ef ASA, Spacetrip: Fix stats screen messages when running out of fuel diff -r 392f90c79b78 -r 172157a47986 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Wed Sep 27 23:41:56 2017 +0200 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Thu Sep 28 00:17:41 2017 +0200 @@ -618,8 +618,10 @@ -- Quick punishment for the impatient AddGear(GetX(hero.gear)-1, GetY(hero.gear)+1, gtDynamite, 0, 0, 0, 1) sendStatsOnRopedToMoon() - elseif anim == dialog05 or anim == dialog06 then + elseif anim == dialog05 then sendStatsOnStuckOnMoon() + elseif anim == dialog06 then + sendStatsOnRetry() elseif CurrentHedgehog ~= hero.gear and anim ~= dialog03 then AnimSwitchHog(hero.gear) elseif anim == dialog03 then @@ -743,7 +745,8 @@ function sendStatsOnRopedToMoon() if ropedToMoon ~= 2 then ropedToMoon = 2 - SendStat(siGameResult, loc("This is the wrong way!")) + SendStat(siGameResult, loc("You have violated PAotH regulations!")) + SendStat(siCustomAchievement, loc("You have triggered the secret Do-Not-Rope-to-the-Moon Defense System!")) SendStat(siCustomAchievement, loc("Collect the crate with the flying saucer!")) SendStat(siCustomAchievement, loc("Fly to the moon.")) sendSimpleTeamRankings({teamC.name})