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:
parent
853cbb7347
commit
ee8778a6d7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue