From ae6b8f97f25689eeb57207fb487f0772711f386c Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Tue, 30 Aug 2016 18:55:17 +1100 Subject: [PATCH] Temporary fix for broken Objective dialog formatting (f866039e813b539) --- data/lua/wml/objectives.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/lua/wml/objectives.lua b/data/lua/wml/objectives.lua index 07085f01001..67bcbb3a8b9 100644 --- a/data/lua/wml/objectives.lua +++ b/data/lua/wml/objectives.lua @@ -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 = " " .. turn_counter .. "" + turn_counter = tostring(" " .. turn_counter .. ""):format(turn_count) end end