Merge pull request #721 from GregoryLundberg/GL_lua_objectives
objectives.lua show_turn_counter in white
This commit is contained in:
commit
7b22051c3c
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