This commit is contained in:
kevinz000
2020-02-27 20:06:52 -07:00
parent f4e49f339b
commit 045d5b2dbf
9 changed files with 25 additions and 24 deletions
@@ -280,7 +280,7 @@
/obj/machinery/atmospherics/components/unary/cryo_cell/MouseDrop_T(mob/living/carbon/target, mob/user)
if(user.stat || user.lying || !Adjacent(user) || !user.Adjacent(target) || !istype(target) || !user.IsAdvancedToolUser())
return
if(!CHECK_BITFIELD(target.mobility_flags, MOBILITY_MOVE))
if(!CHECK_MOBILITY(target, MOBILITY_MOVE))
close_machine(target)
else
user.visible_message("<b>[user]</b> starts shoving [target] inside [src].", "<span class='notice'>You start shoving [target] inside [src].</span>")