mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +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
@@ -62,7 +62,7 @@
|
||||
log_debug("DEBUG: HasProximity called without reference on [src].")
|
||||
return
|
||||
// CHOMPEdit End
|
||||
if(!istype(AM, /mob/living) || AM:incorporeal_move)
|
||||
if(!isliving(AM) || AM:incorporeal_move)
|
||||
return 0
|
||||
if(!(get_dir(src,AM) in shockdirs))
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user