Skip to content

Commit

Permalink
autocolors fix (#4236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruwetuin authored Jan 26, 2025
1 parent df0c4b0 commit 9bc1cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luarules/gadgets/game_autocolors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9bc1cd6

Please sign in to comment.