summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-01-31 10:39:36 +0100
committerest31 <MTest31@outlook.com>2015-01-31 10:42:55 +0100
commit18265de3b3ce2454b2f8f4fcd90591769b423a21 (patch)
tree1aa5a40c9fac4a74979a66d3c28af43aa48f8d58
parent3dc01a67203ec0844b757a651444fb9c935f4ae6 (diff)
Fix bug for switching stations displaying same input and output
-rw-r--r--technic/helpers.lua2
1 files changed, 1 insertions, 1 deletions
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