mirror of
https://github.com/minetest-mods/technic.git
synced 2025-02-04 22:30:30 +01:00
Update radiation.lua
Greater than or equal to 0 because negative makes no sense.
This commit is contained in:
parent
174ba17d69
commit
268d7bc22a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user