some fixes

This commit is contained in:
kevinz000
2020-02-26 05:59:53 -07:00
parent 872872d9f9
commit 25a2b34c38
3 changed files with 22 additions and 20 deletions
+1 -1
View File
@@ -19,7 +19,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
return (!density || (isliving(mover) && !mover.density && L.can_move_under_living(src)))
return (!density || (!mover.density && (!isliving(mover) || L.can_move_under_living(src))))
/mob/living/toggle_move_intent()
. = ..()