From 9bc1cd680970975ef07292a4a3fc80a0662749de Mon Sep 17 00:00:00 2001 From: Floris Date: Sun, 26 Jan 2025 19:52:50 +0100 Subject: [PATCH] autocolors fix (#4236) --- luarules/gadgets/game_autocolors.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luarules/gadgets/game_autocolors.lua b/luarules/gadgets/game_autocolors.lua index 82fa3604760..3d9157546bb 100644 --- a/luarules/gadgets/game_autocolors.lua +++ b/luarules/gadgets/game_autocolors.lua @@ -736,7 +736,7 @@ else -- UNSYNCED ) elseif - not teamColors[allyTeamCount] or not teamColors[allyTeamCount-1][1][#Spring.GetTeamList(allyTeamCount-1)] -- or #Spring.GetTeamList() > 33 + not teamColors[allyTeamCount] or not teamColors[allyTeamCount][1][#Spring.GetTeamList(allyTeamCount-1)] --or #Spring.GetTeamList() > 30 then local color = hex2RGB(ffaColors[allyTeamID+1] or '#333333') if teamID == gaiaTeamID then