diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-21 18:56:17 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-21 18:56:17 -0500 |
commit | 999ac3e848cbd6a73b59be618d4d9bc77173f8b5 (patch) | |
tree | 51c316cfb6dfbe763a2384b43b752feea895e9f1 | |
parent | d3d844ab3199777db2d748ebdf369259184eedb9 (diff) | |
download | celevator-999ac3e848cbd6a73b59be618d4d9bc77173f8b5.tar celevator-999ac3e848cbd6a73b59be618d4d9bc77173f8b5.tar.gz celevator-999ac3e848cbd6a73b59be618d4d9bc77173f8b5.tar.bz2 celevator-999ac3e848cbd6a73b59be618d4d9bc77173f8b5.tar.xz celevator-999ac3e848cbd6a73b59be618d4d9bc77173f8b5.zip |
Hopefully fix some car door visual issues
-rw-r--r-- | doors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -505,7 +505,7 @@ function celevator.doors.caropen(pos) for _,dpos in ipairs(positions) do local objs = minetest.get_objects_inside_radius(dpos,0.1) for _,obj in pairs(objs) do - if obj:get_luaentity() and obj:get_luaentity().name then + if obj:get_luaentity() and obj:get_luaentity().name == "celevator:car_door" then table.insert(erefs,obj) end end |