# HG changeset patch # User Wuzzy # Date 1548038121 0 # Node ID b11070b109aae656c5b46a09a83fb176c8512547 # Parent 5acc46053f374c9ee9aba55c490b20d37f3c8be3 LuaAPI: Add usage warning for SetClanColor diff -r 5acc46053f37 -r b11070b109aa 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]. ==== !SetClanColor(clan, 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. +*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 === ==== !SaveCampaignVar(varname, value) ====