Update radiation.lua

Greater than or equal to 0 because negative makes no sense.
This commit is contained in:
DustyDave961 2024-10-13 19:48:19 -05:00 committed by GitHub
parent 174ba17d69
commit 268d7bc22a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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