share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua
changeset 12288 a5a7d0c6d3f3
parent 11909 1d2e89be3eb6
child 12335 8f693d25be2f
--- 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