--- a/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua Wed Aug 08 14:38:54 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua Wed Aug 08 15:22:34 2018 +0200
@@ -555,7 +555,7 @@
statusText = loc("Game over!")
scoreText = loc("Final team scores:")
else
- AddCaption(string.format(loc("Rounds complete: %d/%d"), roundNumber, roundLimit), 0xFFFFFFFF, capgrpMessage)
+ AddCaption(string.format(loc("Rounds complete: %d/%d"), roundNumber, roundLimit), capcolDefault, capgrpMessage)
return
end
local displayTime
@@ -576,7 +576,7 @@
SetState(hhs[i], bor(GetState(hhs[i]), gstWinner))
end
end
- AddCaption(string.format(loc("%s wins!"), winnerTeam), 0xFFFFFFFF, capgrpGameState)
+ AddCaption(string.format(loc("%s wins!"), winnerTeam), capcolDefault, capgrpGameState)
SendStat(siGameResult, string.format(loc("%s wins!"), winnerTeam))
for i = 1, TeamsCount do
@@ -1279,7 +1279,7 @@
if (TimeLeft == 0) then
if PlayerIsFine() then
- AddCaption(loc("Time's up!"), 0xFFFFFFFF, capgrpGameState)
+ AddCaption(loc("Time's up!"), capcolDefault, capgrpGameState)
end
if (stopMovement == false) then --time to stop the player
stopMovement = true
@@ -1852,7 +1852,7 @@
FailGraphics()
if not kamikaze then
- AddCaption(loc("GOTCHA!"), 0xFFFFFFFF, capgrpGameState)
+ AddCaption(loc("GOTCHA!"), capcolDefault, capgrpGameState)
PlaySound(sndHellish)
end