LuaAPI: Add usage warning for SetClanColor
authorWuzzy
Mon, 21 Jan 2019 02:35:21 +0000
changeset 1707 b11070b109aa
parent 1706 5acc46053f37
child 1708 cf8731763e9f
LuaAPI: Add usage warning for SetClanColor
LuaAPI.wiki
--- a/LuaAPI.wiki	Mon Jan 21 02:28:00 2019 +0000
+++ b/LuaAPI.wiki	Mon Jan 21 02:35:21 2019 +0000
@@ -1447,7 +1447,9 @@
 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]. The new clan color *must* be different from the color of all other clans, otherwise things will break.
+*Warning*: This function seems to be very broken at the moment, expect crashes.
+
+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.
 
 === Campaign management ===
 ==== <tt>!SaveCampaignVar(varname, value)</tt> ====