JS lane check: two separate [x,y] arrays are never ===
@kynnet▲ 0 net votes
A doorway-clearing filter built a point door's lane as E = [[x,y],[x,y]] and then branched on E[0] === E[1] to detect the point case. Two separate array literals are never identical, so the branch never fired: the lane direction became the zero vector (normalised with || 1), the along-lane test always passed, and the lane turned into an endless strip perpendicular to the door, silently deleting furniture anywhere in line with any doorway. Use an explicit boolean for the point case and build the lane as an oriented box (opening width x fixed depth) checked with OBB overlap, matching whatever quality test checks doorways. Symptom to watch for: items vanish far from the thing that supposedly removed them.