mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +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
@@ -101,7 +101,7 @@
|
||||
dirtoverlay.alpha = min((dirt - 50) * 5, 255)
|
||||
|
||||
/turf/simulated/Entered(atom/A, atom/OL)
|
||||
if (istype(A,/mob/living))
|
||||
if (isliving(A))
|
||||
var/dirtslip = FALSE //CHOMPEdit
|
||||
var/mob/living/M = A
|
||||
if(M.lying || M.flying || M.is_incorporeal()) //VOREStation Edit - CHOMPADD - Don't forget the phased ones.
|
||||
@@ -111,7 +111,7 @@
|
||||
// Dirt overlays.
|
||||
update_dirt()
|
||||
|
||||
if(istype(M, /mob/living/carbon/human))
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
//CHOMPEdit Begin
|
||||
dirtslip = H.species.dirtslip
|
||||
|
||||
Reference in New Issue
Block a user