diff options
| author | ShadowNinja <shadowninja@minetest.net> | 2013-12-10 20:14:39 -0500 | 
|---|---|---|
| committer | ShadowNinja <shadowninja@minetest.net> | 2013-12-10 20:14:39 -0500 | 
| commit | f3d8b47b20feac740057984a70f93f38252619eb (patch) | |
| tree | 840fe002e0e623b0794770f8bff7bf7883f4a805 /technic/machines/LV/geothermal.lua | |
| parent | 818a0e5ff048a24570026b5905cd6e2113cd91c9 (diff) | |
Add support for minetest.swap_node
Diffstat (limited to 'technic/machines/LV/geothermal.lua')
| -rw-r--r-- | technic/machines/LV/geothermal.lua | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/technic/machines/LV/geothermal.lua b/technic/machines/LV/geothermal.lua index 6066192..855593c 100644 --- a/technic/machines/LV/geothermal.lua +++ b/technic/machines/LV/geothermal.lua @@ -99,11 +99,11 @@ minetest.register_abm({  			S("Geothermal Generator").." ("..production_level.."%)")  		if production_level > 0 and minetest.get_node(pos).name == "technic:geothermal" then -			hacky_swap_node (pos, "technic:geothermal_active") +			technic.swap_node (pos, "technic:geothermal_active")  			return  		end  		if production_level == 0 then -			hacky_swap_node(pos, "technic:geothermal") +			technic.swap_node(pos, "technic:geothermal")  			meta:set_int("LV_EU_supply", 0)  		end  	end | 
