mirror of
https://github.com/minetest-mods/technic.git
synced 2025-01-28 19:00:30 +01:00
Update radiation.lua
The node_radiation_resistance function is only used locally.
This commit is contained in:
parent
2309259f64
commit
11f982acd6
@ -197,7 +197,7 @@ technic.register_group_resistance("uranium_block", 500)
|
|||||||
technic.register_group_resistance("wood", 1.7)
|
technic.register_group_resistance("wood", 1.7)
|
||||||
|
|
||||||
-- Function to calculate radiation resistance
|
-- 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]
|
local resistance = cache_radiation_resistance[node_name]
|
||||||
if resistance then
|
if resistance then
|
||||||
return resistance
|
return resistance
|
||||||
|
Loading…
Reference in New Issue
Block a user