M  init.lua
This commit is contained in:
HybridDog 2016-06-12 17:52:34 +02:00
parent f2332af244
commit a28f44f573

View File

@ -167,7 +167,7 @@ local function get_pt_air(player, name)
-- if rooms with 1 node thin walls are lighted the light nodes should be placed inside the room
local pos = vector.new(pos2)
for _,c in pairs({"x", "y", "z"}) do
for _,c in pairs{"x", "y", "z"} do
dir[c] = math.sign(dir[c])
pos[c] = pos[c]-dir[c]
if minetest.get_node(pos).name == "air" then