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