diff options
Diffstat (limited to 'technic/machines/HV/nuclear_reactor.lua')
-rw-r--r-- | technic/machines/HV/nuclear_reactor.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/technic/machines/HV/nuclear_reactor.lua b/technic/machines/HV/nuclear_reactor.lua index afe0b5a..248d0c0 100644 --- a/technic/machines/HV/nuclear_reactor.lua +++ b/technic/machines/HV/nuclear_reactor.lua @@ -214,7 +214,7 @@ minetest.register_abm({ if correct_fuel_count == 6 and check_reactor_structure(pos) then meta:set_int("burn_time", 1) - hacky_swap_node(pos, "technic:hv_nuclear_reactor_core_active") + technic.swap_node(pos, "technic:hv_nuclear_reactor_core_active") meta:set_int("HV_EU_supply", power_supply) for idx, srcstack in pairs(srclist) do srcstack:take_item() @@ -226,7 +226,7 @@ minetest.register_abm({ meta:set_int("HV_EU_supply", 0) meta:set_int("burn_time", 0) meta:set_string("infotext", S("%s Idle"):format(machine_name)) - hacky_swap_node(pos, "technic:hv_nuclear_reactor_core") + technic.swap_node(pos, "technic:hv_nuclear_reactor_core") elseif burn_time > 0 then damage_nearby_players(pos) if not check_reactor_structure(pos) then |