ismecha define
This commit is contained in:
committed by
CitadelStationBot
parent
cc93f1e546
commit
3e26e09db8
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user