Skip to content
Snippets Groups Projects
Commit 112c18a0 authored by Chris N's avatar Chris N
Browse files

Counteracting stupidity

Logic Fail :P
parent 15ec743c
No related branches found
No related tags found
No related merge requests found
......@@ -536,13 +536,13 @@ minetest.register_node("caverealms:constant_flame", {
if pos.y > DM_TOP then
minetest.remove_node(pos)
end
if (minetest.get_modpath("moontest")) then
if not (minetest.get_modpath("moontest")) then
fire.on_flame_add_at(pos)
end
end,
after_dig_node = function(pos, oldnode, oldmetadata, digger)
if (minetest.get_modpath("moontest")) then
if not (minetest.get_modpath("moontest")) then
fire.on_flame_remove_at(pos)
end
end,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment