Skip to content

Commit

Permalink
Ensafen intersection function
Browse files Browse the repository at this point in the history
  • Loading branch information
TurkeyMcMac committed Apr 2, 2022
1 parent 807e6d5 commit fe649e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesecons_mvps/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ local function area_intersects_nodes(min_pos, max_pos, positions)
end
else
local def = minetest.registered_nodes[minetest.get_node(pos).name]
if def.walkable then
if not def or def.walkable then
return true
end
end
Expand Down

0 comments on commit fe649e8

Please sign in to comment.