Merge pull request #32381 from AnturK/ridingdatumsneveragain

Restores buckling sanity.
This commit is contained in:
Leo
2017-11-04 16:07:28 -02:00
committed by CitadelStationBot
parent 910e6b6396
commit 0af8cf0329
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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)