share/hedgewars/Data/Scripts/Multiplayer/WxW.lua
changeset 13643 690cc84e9fd6
parent 13512 36f3f77e9b1b
child 13685 09ea1faf97ca
--- a/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua	Wed Aug 08 14:38:54 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua	Wed Aug 08 15:22:34 2018 +0200
@@ -874,7 +874,7 @@
 function onGearWaterSkip(gear)
 	if gear == CurrentHedgehog then
 		hasSurfed = true
-		AddCaption(loc("Surfer!"), 0xFFFFFFFF, capgrpMessage2)
+		AddCaption(loc("Surfer!"), capcolDefault, capgrpMessage2)
 	end
 end
 
@@ -890,7 +890,7 @@
 			AddCaption(loc("All walls touched!"))
 			allWallsHit = true
 			if (requireSurfer == true) and (hasSurfed == false) then
-				AddCaption(loc("Go surf!"), 0xFFFFFFFF, capgrpMessage2)
+				AddCaption(loc("Go surf!"), capcolDefault, capgrpMessage2)
 			end
 		else
 			AddCaption(string.format(loc("Walls left: %d"), wallsLeft))
@@ -974,7 +974,7 @@
 			roundN = 2
 		else
 			TurnTimeLeft = TurnTime
-			AddCaption(string.format(loc("Let's go, %s!"), GetHogTeamName(CurrentHedgehog)), 0xFFFFFFFF, capgrpMessage2)
+			AddCaption(string.format(loc("Let's go, %s!"), GetHogTeamName(CurrentHedgehog)), capcolDefault, capgrpMessage2)
 			roundN = 100
 			wallsLeft = #wTouched
 			allowCrate = true