From 11f982acd67ac45b0ade92fedfa90aa90394052e Mon Sep 17 00:00:00 2001 From: DustyDave961 <144002335+DustyDave961@users.noreply.github.com> Date: Tue, 15 Oct 2024 18:17:33 -0500 Subject: [PATCH] Update radiation.lua The node_radiation_resistance function is only used locally. --- technic/radiation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/radiation.lua b/technic/radiation.lua index bae580a..2dc1a30 100644 --- a/technic/radiation.lua +++ b/technic/radiation.lua @@ -197,7 +197,7 @@ technic.register_group_resistance("uranium_block", 500) technic.register_group_resistance("wood", 1.7) -- Function to calculate radiation resistance -function node_radiation_resistance(node_name) +local function node_radiation_resistance(node_name) local resistance = cache_radiation_resistance[node_name] if resistance then return resistance