mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 21:40:25 +00:00
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
@ -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…
x
Reference in New Issue
Block a user