fixed abm

This commit is contained in:
Kenneth Jao 2015-01-10 14:38:19 -05:00
parent 9b739efcb3
commit ec4fa8e538

View File

@ -13,11 +13,11 @@ minetest.register_node("womd:radioactive_air", {
minetest.register_abm({ minetest.register_abm({
nodenames = {"womd:radioactive_air"}, nodenames = {"womd:radioactive_air"},
neighbors = {"default:air"}, neighbors = {"air"},
interval = 10.0, interval = 10.0,
chance = 10, chance = 10,
action = function(pos, node, active_object_count, active_object_count_wider) action = function(pos, node, active_object_count, active_object_count_wider)
minetest.set_node(pos, {name = "default:air"}) minetest.set_node(pos, {name = "air"})
end, end,
}) })