summaryrefslogtreecommitdiff
path: root/attic
diff options
context:
space:
mode:
authorVanessaE <vanessaezekowitz@gmail.com>2013-04-01 17:21:38 -0700
committerVanessaE <vanessaezekowitz@gmail.com>2013-04-01 17:21:38 -0700
commit7e328b1d11d9b09953c332025bac14e935a6fb30 (patch)
tree9823fb0acba2b1eaa11a0a090ee79cfcdbe947a9 /attic
parentc88e8639eab9c01d395ee99f8d9467af57105929 (diff)
parentd784213a946a903b4aa1d57d93313564c5466348 (diff)
downloadpipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.tar
pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.tar.gz
pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.tar.bz2
pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.tar.xz
pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.zip
Merge pull request #23 from Uberi/master
Fix deployer in latest minetest.
Diffstat (limited to 'attic')
-rw-r--r--attic/deployer.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/attic/deployer.lua b/attic/deployer.lua
index a57a895..fdb4b15 100644
--- a/attic/deployer.lua
+++ b/attic/deployer.lua
@@ -47,6 +47,7 @@ deployer_on = function(pos, node)
local placer={}
function placer:get_player_name() return "deployer" end
function placer:getpos() return pos end
+ function placer:get_player_control() return {jump=false,right=false,left=false,LMB=false,RMB=false,sneak=false,aux1=false,down=false,up=false} end
local stack2=minetest.item_place(stack,placer,{type="node", under=pos1, above=pos2})
invlist[i]=stack2
inv:set_list("main",invlist)