Merge pull request #32381 from AnturK/ridingdatumsneveragain
Restores buckling sanity.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
/atom/movable/MouseDrop_T(mob/living/M, mob/living/user)
|
||||
. = ..()
|
||||
if(can_buckle && istype(M))
|
||||
if(can_buckle && istype(M) && istype(user))
|
||||
if(user_buckle_mob(M, user))
|
||||
return 1
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
. = ..()
|
||||
|
||||
|
||||
/obj/vehicle/user_buckle_mob(mob/living/M, mob/user)
|
||||
if(user.incapacitated())
|
||||
/obj/vehicle/user_buckle_mob(mob/living/M, mob/living/user)
|
||||
if(!istype(user) || user.incapacitated())
|
||||
return
|
||||
for(var/atom/movable/A in get_turf(src))
|
||||
if(A.density)
|
||||
|
||||
Reference in New Issue
Block a user