Merge pull request #15313 from DeltaFire15/codemoment

Fixes dragging things over prone individuals
This commit is contained in:
silicons
2021-10-29 17:43:13 -07:00
committed by GitHub
+1 -1
View File
@@ -37,7 +37,7 @@
if(mover in buckled_mobs)
return TRUE
var/mob/living/L = mover //typecast first, check isliving and only check this if living using short circuit
if(lying && L.lying) //if we're both lying down and aren't already being thrown/shipped around, don't pass
if(isliving(L) && lying && L.lying) //if we're both lying down and aren't already being thrown/shipped around, don't pass
return FALSE
return (!density || (isliving(mover)? L.can_move_under_living(src) : !mover.density))