ismecha define (#31192)

This commit is contained in:
KorPhaeron
2017-10-02 02:03:40 -04:00
committed by Joan Lung
parent 0ac005aeb4
commit cc309236d9
30 changed files with 41 additions and 45 deletions
@@ -94,7 +94,7 @@
if(!ismob(M) && !isobj(M)) //No don't teleport lighting and effects!
return
if(M.anchored && (!ismob(M) || (istype(M, /obj/mecha) && !mech_sized)))
if(M.anchored && (!ismob(M) || (ismecha(M) && !mech_sized)))
return
if(do_teleport(M, hard_target, 6))
@@ -435,7 +435,7 @@
if(!over_object)
return
if (istype(usr.loc, /obj/mecha))
if(ismecha(usr.loc))
return
if(!M.incapacitated())