Target practice: Change target radar color to red
authorWuzzy <Wuzzy2@mail.ru>
Tue, 15 Jan 2019 01:47:07 +0100
changeset 14615 825fe522f4f1
parent 14614 c3bbe56156e5
child 14616 fa908241798f
Target practice: Change target radar color to red
share/hedgewars/Data/Scripts/TargetPractice.lua
--- a/share/hedgewars/Data/Scripts/TargetPractice.lua	Tue Jan 15 00:48:57 2019 +0100
+++ b/share/hedgewars/Data/Scripts/TargetPractice.lua	Tue Jan 15 01:47:07 2019 +0100
@@ -102,7 +102,7 @@
 			by the number of shots. (default: "You have shot %d times.")
 	- useRadar	Whether to use target radar (small circles that mark the position
 			of the next target). (default: true). Note: Still needs to be unlocked.
-	- radarTint:	RGBA color of the target radar  (default: 0x8080FFFF). Use this field
+	- radarTint:	RGBA color of the target radar  (default: 0xFF3030FF). Use this field
 			if the target radar would be hard to see against the background.
 ]]
 
@@ -116,7 +116,7 @@
 	if params.shootText == nil then params.shootText = loc("You have shot %d times.") end
 	if params.clanColor == nil then params.clanColor = -1 end
 	if params.wind == nil then params.wind = 0 end
-	if params.radarTint == nil then params.radarTint = 0x8080FFFF end
+	if params.radarTint == nil then params.radarTint = 0xFF3030FF end
 	if params.useRadar == nil then params.useRadar = true end
 
 	local solid, artillery