Temporary fix for broken Objective dialog formatting (f866039e81)

This commit is contained in:
Charles Dang 2016-08-30 18:55:17 +11:00
parent 307192c147
commit ae6b8f97f2

View file

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