From 3dc01a67203ec0844b757a651444fb9c935f4ae6 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 31 Jan 2015 10:39:05 +0100 Subject: [PATCH] Formatting for supply converter too --- technic/machines/supply_converter.lua | 3 +-- 1 file changed, 1 insertion(+), 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