Set a fallback color
It will be used only if there are no sides, which shouldn't happen, but can. See issue #2063.
This commit is contained in:
parent
c6408dbd95
commit
523f61c6e7
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ res.turns_over_advantage = function()
|
|||
local side_num = -1
|
||||
local total_score = -1
|
||||
local side_comparison = ""
|
||||
local color = nil
|
||||
local color = "#000000"
|
||||
for side, team in all_sides() do
|
||||
if not team.__cfg.hidden then
|
||||
local r, g, b = 255, 255, 255
|
||||
|
|
Loading…
Add table
Reference in a new issue