Update radiation.lua

The node_radiation_resistance function is only used locally.
This commit is contained in:
DustyDave961 2024-10-15 18:17:33 -05:00 committed by GitHub
parent 2309259f64
commit 11f982acd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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