Skip to content

Commit

Permalink
Temporary fix for broken Objective dialog formatting (f866039)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Aug 30, 2016
1 parent 307192c commit ae6b8f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/lua/wml/objectives.lua
Expand Up @@ -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

Expand Down

0 comments on commit ae6b8f9

Please sign in to comment.