From 999ac3e848cbd6a73b59be618d4d9bc77173f8b5 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 21 Apr 2024 18:56:17 -0500 Subject: Hopefully fix some car door visual issues --- doors.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doors.lua b/doors.lua index 0dcbcf6..f4c20c9 100644 --- a/doors.lua +++ b/doors.lua @@ -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 -- cgit v1.2.3