From 523f61c6e7f23c72863e12509ee18f12b66154fe Mon Sep 17 00:00:00 2001 From: Alexander van Gessel Date: Wed, 4 Oct 2017 14:24:43 +0200 Subject: [PATCH] Set a fallback color It will be used only if there are no sides, which shouldn't happen, but can. See issue #2063. --- data/multiplayer/eras.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/multiplayer/eras.lua b/data/multiplayer/eras.lua index a1866554184..9b8bebb8970 100644 --- a/data/multiplayer/eras.lua +++ b/data/multiplayer/eras.lua @@ -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