objectives.lua show_turn_counter in white

This matches the style used for OBJECTIVE_FOOTNOTE and makes the turn count more apparent.
This commit is contained in:
Gregory A Lundberg 2016-07-31 21:41:25 -05:00
parent 853cbb7347
commit ee8778a6d7

View file

@ -68,9 +68,9 @@ local function generate_objectives(cfg)
if turn_limit >= current_turn then
if turn_limit - current_turn + 1 > 1 then
turn_counter = "<small> " .. string.format(tostring(_"(%d turns left)"), turn_limit - current_turn + 1) .. "</small>"
turn_counter = "<span foreground='white'><small> " .. string.format(tostring(_"(%d turns left)"), turn_limit - current_turn + 1) .. "</small></span>"
else
turn_counter = "<small> " .. _"(this turn left)" .. "</small>"
turn_counter = "<span foreground='white'><small> " .. _"(this turn left)" .. "</small></span>"
end
end
end