share/hedgewars/Data/Scripts/TargetPractice.lua
changeset 13583 141cdfe0f3ca
parent 13099 071dcdf33f86
child 13620 211a37eb6a29
--- a/share/hedgewars/Data/Scripts/TargetPractice.lua	Wed Aug 01 02:49:03 2018 +0200
+++ b/share/hedgewars/Data/Scripts/TargetPractice.lua	Wed Aug 01 15:50:39 2018 +0200
@@ -101,7 +101,7 @@
 	- teamGrave:	name of the hedgehog’s grave
 	- teamFlag:	name of the team’s flag (default: "cm_crosshair")
 	- secGearType:	cluster of projectile gear (if present) (used to re-center camera)
-	- clanColor:	color of the (only) clan (default: 0xFF0204, which is a red tone)
+	- clanColor:	color of the (only) clan (default: -1, default first clan color)
 	- goalText:	A short string explaining the goal of the mission
 			(default: "Destroy all targets within the time!")
 	- shootText:	A string which says how many times the player shot, “%d” is replaced
@@ -119,7 +119,7 @@
 	if params.teamName == nil then params.teamName = loc("Training Team") end
 	if params.goalText == nil then params.goalText = loc("Eliminate all targets before your time runs out.|You have unlimited ammo for this mission.") end
 	if params.shootText == nil then params.shootText = loc("You have shot %d times.") end
-	if params.clanColor == nil then params.clanColor = 0xFF0204 end
+	if params.clanColor == nil then params.clanColor = -1 end
 	if params.teamGrave == nil then params.teamGrave= "Statue" end
 	if params.teamFlag == nil then params.teamFlag = "cm_crosshair" end
 	if params.wind == nil then params.wind = 0 end