summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-01-31 10:39:05 +0100
committerest31 <MTest31@outlook.com>2015-01-31 10:42:55 +0100
commit3dc01a67203ec0844b757a651444fb9c935f4ae6 (patch)
treee103a14ccae36b650df2f59a4ea17f097df437e3
parentd9bf9830b0d72837000e8a5dbf05536881eab42b (diff)
Formatting for supply converter too
-rw-r--r--technic/machines/supply_converter.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/technic/machines/supply_converter.lua b/technic/machines/supply_converter.lua
index 6b0da99..cb76233 100644
--- a/technic/machines/supply_converter.lua
+++ b/technic/machines/supply_converter.lua
@@ -31,8 +31,7 @@ local run = function(pos, node)
meta:set_int(to.."_EU_demand", 0)
meta:set_int(to.."_EU_supply", input * remain)
meta:set_string("infotext", machine_name
- .." ("..input.." "..from.." -> "
- ..input * remain.." "..to..")")
+ ..technic.format(" (%e %s -> %e %s)", input, from, input * remain, to))
else
meta:set_string("infotext", S("%s Has Bad Cabling"):format(machine_name))
if to then