diff --git a/technic/helpers.lua b/technic/helpers.lua index 0c085e0..de315d0 100644 --- a/technic/helpers.lua +++ b/technic/helpers.lua @@ -82,8 +82,8 @@ function technic.format(str, ...) else --use traditional string:format res = res .. (string.format(("%"..c), arg[i])) - i = i + 1 end + i = i + 1 percent = false elseif c == "%" then percent = true