mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
ismecha define (#31192)
This commit is contained in:
@@ -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