From a8daa417c485ee20716ec050d4c676b5c91af773 Mon Sep 17 00:00:00 2001 From: David Leal <halfpacho@gmail.com> Date: Fri, 12 Jun 2020 20:39:00 +0200 Subject: [PATCH] Add GitHub workflow and luacheck (#545) --- technic/machines/switching_station.lua | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua index 7f3a0b9..56a0db0 100644 --- a/technic/machines/switching_station.lua +++ b/technic/machines/switching_station.lua @@ -249,12 +249,8 @@ action = function(pos, node, active_object_count, active_object_count_wider) if not technic.powerctrl_state then return end local meta = minetest.get_meta(pos) - local meta1 = nil + local meta1 local pos1 = {} - local PR_EU = 0 -- EUs from PR nodes - local BA_PR_EU = 0 -- EUs from BA nodes (discharching) - local BA_RE_EU = 0 -- EUs to BA nodes (charging) - local RE_EU = 0 -- EUs to RE nodes local tier = "" local PR_nodes -- Gitblit v1.8.0