From 268d7bc22aef30ce4f100838246d375c7fdc00c1 Mon Sep 17 00:00:00 2001 From: DustyDave961 <144002335+DustyDave961@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:48:19 -0500 Subject: [PATCH] Update radiation.lua Greater than or equal to 0 because negative makes no sense. --- technic/radiation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/radiation.lua b/technic/radiation.lua index 3e38e86..f712bc0 100644 --- a/technic/radiation.lua +++ b/technic/radiation.lua @@ -222,7 +222,7 @@ function node_radiation_resistance(node_name) end -- If no rad_resistance group, use registered node-specific resistance - if resistance == 0 then + if resistance >= 0 then resistance = rad_resistance_node[node_name] or 0 end