master
JPG 2018-01-21 15:20:29 +01:00
parent 3a85f5a817
commit b7a192c2b5
1 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,9 @@ function areas:canInteract(pos, name)
(wield_item and wield_item:find("audioblocks:bush")) or
node_name:find("audioblocks:bloc_phrase") or
node_name:find("audioblocks:bush") or
(rawget(_G, "audioblocks") and audioblocks.bushes[name].obj) then
(rawget(_G, "audioblocks") and
audioblocks.bushes[name] and
audioblocks.bushes[name].obj) then
return true
end