mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +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
@@ -192,7 +192,7 @@
|
||||
|
||||
for(var/turf/T in destination)
|
||||
for(var/atom/movable/AM in T)
|
||||
if(istype(AM, /mob/living) && !(AM.is_incorporeal()))
|
||||
if(isliving(AM) && !(AM.is_incorporeal()))
|
||||
var/mob/living/M = AM
|
||||
M.gib()
|
||||
else if(AM.simulated && !(istype(AM, /mob/observer)) && !(AM.is_incorporeal()))
|
||||
|
||||
Reference in New Issue
Block a user