# HG changeset patch
# User Wuzzy
# Date 1548037680 0
# Node ID 5acc46053f374c9ee9aba55c490b20d37f3c8be3
# Parent 39af8c72daef9196fd13294f6b40aad7ebe68073
LuaAPI: Add a new rule for usage of SetClanColor
diff -r 39af8c72daef -r 5acc46053f37 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].
==== !SetClanColor(clan, color) ====
-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 ===
==== !SaveCampaignVar(varname, value) ====