oops, forgot to 'end' that last if.

This commit is contained in:
Vanessa Ezekowitz 2013-11-05 20:24:31 -05:00
parent 2bb1eadc9e
commit dfd45b2c10
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ homedecor.update_sign = function(pos, fields)
meta:set_string("text", fields.text)
end
local text = meta:get_string("text")
if text == nil then return
if text == nil then return end
local objects = minetest.get_objects_inside_radius(pos, 0.5)
for _, v in ipairs(objects) do
local e = v:get_luaentity()