Skip to content

Commit 9bc1cd6

Browse files
authored
autocolors fix (#4236)
1 parent df0c4b0 commit 9bc1cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

luarules/gadgets/game_autocolors.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ else -- UNSYNCED
736736
)
737737

738738
elseif
739-
not teamColors[allyTeamCount] or not teamColors[allyTeamCount-1][1][#Spring.GetTeamList(allyTeamCount-1)] -- or #Spring.GetTeamList() > 33
739+
not teamColors[allyTeamCount] or not teamColors[allyTeamCount][1][#Spring.GetTeamList(allyTeamCount-1)] --or #Spring.GetTeamList() > 30
740740
then
741741
local color = hex2RGB(ffaColors[allyTeamID+1] or '#333333')
742742
if teamID == gaiaTeamID then

0 commit comments

Comments
 (0)