--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Wed Aug 08 14:38:54 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Wed Aug 08 15:22:34 2018 +0200
@@ -2332,11 +2332,11 @@
WriteLnToConsole("")
WriteLnToConsole(" if (c == \"victory\") and (GetHogLevel(hhs[i]) ~= 0) then")
WriteLnToConsole(" DismissTeam(GetHogTeamName(hhs[i]))")
- WriteLnToConsole(" AddCaption(loc(\"Victory!\"), 0xFFFFFFFF, capgrpGameState)")
+ WriteLnToConsole(" AddCaption(loc(\"Victory!\"), capcolDefault, capgrpGameState)")
WriteLnToConsole(" ShowMission(loc(\"User Mission\"), loc(\"Mission\"), loc(\"Mission succeeded!\"), 0, 0)")
WriteLnToConsole(" elseif (c == \"failure\") and (GetHogLevel(hhs[i]) == 0) then")
WriteLnToConsole(" DismissTeam(GetHogTeamName(hhs[i]))")
- WriteLnToConsole(" AddCaption(loc(\"Defeat!\"), 0xFFFFFFFF, capgrpGameState)")
+ WriteLnToConsole(" AddCaption(loc(\"Defeat!\"), capcolDefault, capgrpGameState)")
WriteLnToConsole(" ShowMission(loc(\"User Mission\"), loc(\"Mission\"), loc(\"Mission failed!\"), -amSkip, 0)")
WriteLnToConsole(" elseif (c == \"victory\") and (GetHogLevel(hhs[i]) == 0) then")
WriteLnToConsole(" PlaySound(sndVictory,hhs[i]) -- check if we actually need this")