Skip to content
Snippets Groups Projects
Commit 24160d45 authored by Anthony Zhang's avatar Anthony Zhang
Browse files

Silly mistake, interrupts should work better now.

parent 682cf347
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ local getinterrupt = function(pos)
local interrupts = minetest.deserialize(meta:get_string("lc_interrupts")) or {}
local found = false
for _, i in ipairs(interrupts) do
if minetest.serialize(i) == minetest.serialize(event.iid) then
if minetest.serialize(i) == minetest.serialize(iid) then
found = true
break
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