# HG changeset patch
# User Wuzzy
# Date 1554157423 -3600
# Node ID d2397947f3d7c38399a602efd7817b4975e75151
# Parent f99ab21a3e34ec58e57db4f42a6e78737ba1b679
LuaAPI: Add graph warning for SetClanColor
diff -r f99ab21a3e34 -r d2397947f3d7 LuaAPI.wiki
--- a/LuaAPI.wiki Tue Jan 29 10:48:22 2019 -0500
+++ b/LuaAPI.wiki Mon Apr 01 23:23:43 2019 +0100
@@ -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 clans.
+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 clans (you can't use this function to change clan memberships of teams).
+
+Note: The stats graph does not support changing clan colors. If the clan colors change in mid-game, the graph might get confused and shows weird stuff. You may want to turn off the graph with if this is the case (see `SendHealthStatsOff`).
=== Campaign management ===
==== !SaveCampaignVar(varname, value) ====