From 21e044478e259efa202dce2c2e82afc342f07b90 Mon Sep 17 00:00:00 2001
From: SmallJoker <mk939@ymail.com>
Date: Sat, 26 Nov 2022 23:25:33 +0100
Subject: [PATCH] Fix battery box charging issues caused by out of sync functions

---
 technic/machines/register/solar_array.lua |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/technic/machines/register/solar_array.lua b/technic/machines/register/solar_array.lua
index 03f11d9..443ac90 100644
--- a/technic/machines/register/solar_array.lua
+++ b/technic/machines/register/solar_array.lua
@@ -56,7 +56,6 @@
 		},
 		on_construct = function(pos)
 			local meta = minetest.get_meta(pos)
-			local name = minetest.get_node(pos).name
 			meta:set_int(tier.."_EU_supply", 0)
 		end,
 		technic_run = run,

--
Gitblit v1.8.0