Make falling work for vertical movestone as well

This commit is contained in:
Vitaliy 2018-07-23 13:13:40 +03:00 committed by GitHub
parent 567322fa81
commit d9f59b8360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -68,10 +68,8 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical)
end
end
-- ### Step 4: Let things fall
if not is_vertical then
minetest.check_for_falling(vector.add(pos, {x=0, y=1, z=0}))
end
-- ### Step 4: Let things fall ###
minetest.check_for_falling(vector.add(pos, {x=0, y=1, z=0}))
end
def.is_ground_content = false