Merge pull request #721 from GregoryLundberg/GL_lua_objectives

objectives.lua show_turn_counter in white
This commit is contained in:
Charles Dang 2016-08-05 21:00:56 +11:00 committed by GitHub
commit 7b22051c3c

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