summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-04-09 15:32:48 -0600
committerLNJ <git@lnj.li>2017-04-10 13:30:30 +0200
commit7cb2534a4f59c6c01372554a9535cdd6b66ed556 (patch)
treeb97e0ec0dfe6472f58db2e3ee6cfa1855663e355 /lua
parent8009743d8d47223292937142e94bc6ba5ecb73fb (diff)
Make entities selectable in latest dev build
Diffstat (limited to 'lua')
-rwxr-xr-xlua/api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/api.lua b/lua/api.lua
index 0b3d09b..f49035b 100755
--- a/lua/api.lua
+++ b/lua/api.lua
@@ -129,7 +129,7 @@ function drawers.register_drawer(name, def)
def.drawtype = "nodebox"
def.node_box = {type = "fixed", fixed = drawers.node_box_simple}
def.collision_box = {type = "regular"}
- def.selection_box = {type = "regular"}
+ def.selection_box = {type = "fixed", fixed = drawers.node_box_simple}
def.paramtype = "light"
def.paramtype2 = "facedir"
def.legacy_facedir_simple = true