mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] some istype to macros (#9802)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
73486c399b
commit
ed79946ade
@@ -110,7 +110,7 @@
|
||||
set src in oview(1)
|
||||
set desc = "ID Tag:"
|
||||
|
||||
if(stat & (NOPOWER|BROKEN) || !istype(usr,/mob/living))
|
||||
if(stat & (NOPOWER|BROKEN) || !isliving(usr))
|
||||
return
|
||||
if(t)
|
||||
id = t
|
||||
@@ -168,7 +168,7 @@
|
||||
return
|
||||
if(istype(M, /atom/movable))
|
||||
//VOREStation Addition Start: Prevent taurriding abuse
|
||||
if(istype(M, /mob/living))
|
||||
if(isliving(M))
|
||||
var/mob/living/L = M
|
||||
if(LAZYLEN(L.buckled_mobs))
|
||||
var/datum/riding/R = L.riding_datum
|
||||
|
||||
Reference in New Issue
Block a user