aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/falling.lua
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-12-12 14:00:10 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-12-12 14:00:10 +0100
commit7250cf2c1c29b685b8ac3552c296f11c8178b0a0 (patch)
tree8a36316aaa95e5355f35229f816b52db0fd7eac0 /builtin/game/falling.lua
parentf783f59392f5e86c5645195521b2fa008ffe4fe7 (diff)
parentaf073438fd70833955a30bcbe1c22e6f344ec41c (diff)
downloaddragonfireclient-7250cf2c1c29b685b8ac3552c296f11c8178b0a0.tar.xz
Merge branch 'master' of https://github.com/minetest/minetest
Diffstat (limited to 'builtin/game/falling.lua')
-rw-r--r--builtin/game/falling.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/falling.lua b/builtin/game/falling.lua
index 8d044beaa..f489ea702 100644
--- a/builtin/game/falling.lua
+++ b/builtin/game/falling.lua
@@ -130,7 +130,7 @@ core.register_entity(":__builtin:falling_node", {
-- Set collision box (certain nodeboxes only for now)
local nb_types = {fixed=true, leveled=true, connected=true}
if def.drawtype == "nodebox" and def.node_box and
- nb_types[def.node_box.type] then
+ nb_types[def.node_box.type] and def.node_box.fixed then
local box = table.copy(def.node_box.fixed)
if type(box[1]) == "table" then
box = #box == 1 and box[1] or nil -- We can only use a single box