Temporary fix for broken Objective dialog formatting (f866039e81
)
This commit is contained in:
parent
307192c147
commit
ae6b8f97f2
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue