From 18265de3b3ce2454b2f8f4fcd90591769b423a21 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 31 Jan 2015 10:39:36 +0100 Subject: [PATCH] Fix bug for switching stations displaying same input and output --- technic/helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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