share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua
changeset 13648 690cc84e9fd6
parent 13635 fe7d2bbf5f3f
child 13854 297cf5c19172
--- a/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua	Wed Aug 08 14:38:54 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua	Wed Aug 08 15:22:34 2018 +0200
@@ -120,7 +120,7 @@
 local colorHealingStationParticle = 0x00FF0080
 local colorGeneratorParticle = 0xFFFF00FF
 
-local colorMessageError = 0xFFFFFFFF
+local colorMessageError = capcolDefault
 
 -- Fake ammo types, for the overwritten weapons in Construction Mode
 local amCMStructurePlacer = amAirAttack
@@ -771,7 +771,7 @@
 							loc("%s is now as poor as a church mouse"),
 						}
 						local r = math.random(1, #msgs)
-						AddCaption(string.format(msgs[r], GetHogName(gear)), 0xFFFFFFFF, capgrpAmmoinfo)
+						AddCaption(string.format(msgs[r], GetHogName(gear)), capcolDefault, capgrpAmmoinfo)
 					end
 
 				end