Nearby buckling fixes (#23459)

* no timer when buckle ontop of chair, no random hits when buckling

* revert revert, right
This commit is contained in:
HMBGERDO
2023-12-16 17:12:48 +01:00
committed by GitHub
parent 6d9018ad42
commit 5ec1418d2d
+2 -2
View File
@@ -23,8 +23,8 @@
/atom/movable/MouseDrop_T(mob/living/M, mob/living/user)
. = ..()
if(can_buckle && istype(M) && istype(user))
if(user_buckle_mob(M, user))
return TRUE
INVOKE_ASYNC(src, TYPE_PROC_REF(/atom/movable, user_buckle_mob), M, user)
return TRUE
/atom/movable/proc/has_buckled_mobs()
return length(buckled_mobs)