LuaAPI: Add a new rule for usage of SetClanColor
authorWuzzy
Mon, 21 Jan 2019 02:28:00 +0000
changeset 1706 5acc46053f37
parent 1705 39af8c72daef
child 1707 b11070b109aa
LuaAPI: Add a new rule for usage of SetClanColor
LuaAPI.wiki
--- a/LuaAPI.wiki	Wed Jan 16 22:46:45 2019 +0000
+++ b/LuaAPI.wiki	Mon Jan 21 02:28:00 2019 +0000
@@ -1447,7 +1447,7 @@
 Returns the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color].
 
 ==== <tt>!SetClanColor(clan, color)</tt> ====
-Sets the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color].
+Sets the RGBA color of the chosen clan by its number. The color data type is described in [LuaAPI#Color]. The new clan color *must* be different from the color of all other clans, otherwise things will break.
 
 === Campaign management ===
 ==== <tt>!SaveCampaignVar(varname, value)</tt> ====