# HG changeset patch # User Wuzzy # Date 1492627857 -7200 # Node ID a5a7d0c6d3f3bea972d1019b9186d218f2404424 # Parent faf1b93422bac168f1775bc41b11562759f1ce64 Fix incorrect Mutant score message color diff -r faf1b93422ba -r a5a7d0c6d3f3 share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua Wed Apr 19 20:21:15 2017 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua Wed Apr 19 20:50:57 2017 +0200 @@ -633,8 +633,8 @@ if curr_team ~=GetHogTeamName(gear) then if CurrentHedgehog==mutant and getGearValue(mutant,"SelfDestruct")==false then SetHealth(CurrentHedgehog, GetHealth(CurrentHedgehog)+kill_reward) - AddCaption(loc("+1 point"), GetClanColor(GetHogClan(gear)), capgrpMessage) - AddCaption(string.format(loc("+%d health"), kill_reward), GetClanColor(GetHogClan(gear)), capgrpMessage2) + AddCaption(loc("+1 point"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage) + AddCaption(string.format(loc("+%d health"), kill_reward), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage2) increaseTeamValue(curr_team,"Score") end if getGearValue(CurrentHedgehog,"Feeder") then