From 58e8fa03b62ce20a5a014bd55cf7446e7de59d68 Mon Sep 17 00:00:00 2001 From: Maciej 'agaran' Pijanka Date: Sat, 4 Mar 2017 19:13:01 +0100 Subject: [PATCH] Use const instead of immediate string --- technic/machines/supply_converter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/machines/supply_converter.lua b/technic/machines/supply_converter.lua index 1ed6884..1d792d2 100644 --- a/technic/machines/supply_converter.lua +++ b/technic/machines/supply_converter.lua @@ -13,7 +13,7 @@ local run = function(pos, node, run_name) local demand = 10000 local remain = 0.9 - if run_name == "RE" then + if run_name == technic.receive then -- do not run TWICE (it is PR-RE machine), save lua cycles return end