summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-08-26 23:53:14 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-08-26 23:53:14 +0200
commit6eb3d8ee64f834dab77a2314342d7b0eaa2e8efb (patch)
treeb988752efa9bb15e0dbac6fbe63cb0cc62d36d98 /init.lua
parent2cc44e36a4bfe733913c8e201caf55dfcabcc2fe (diff)
Lift deletes bones now
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index fc6920f..934810e 100644
--- a/init.lua
+++ b/init.lua
@@ -33,7 +33,9 @@ local function fetch_lift(pos, node, clicker, rel, i, open_door, plus)
anode.name ~= "lifter:lift" and dnode.name ~= "lifter:lift" then
if wnode.name ~= "air" and snode.name ~= "air" and
- anode.name ~= "air" and dnode.name ~= "air" then
+ anode.name ~= "air" and dnode.name ~= "air" and
+ wnode.name ~= "bones:bones" and snode.name ~= "bones:bones" and
+ anode.name ~= "bones:bones" and dnode.name ~= "bones:bones"then
print("lift not found, no air")
return
end