mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +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
@@ -53,7 +53,7 @@
|
||||
continue
|
||||
|
||||
var/flash_time = 10
|
||||
if(istype(O, /mob/living/carbon/human))
|
||||
if(ishuman(O))
|
||||
var/mob/living/carbon/human/H = O
|
||||
//VOREStation Edit Start
|
||||
if(H.nif && H.nif.flag_check(NIF_V_FLASHPROT,NIF_FLAGS_VISION))
|
||||
@@ -82,7 +82,7 @@
|
||||
if(get_dist(src, O) > 7)
|
||||
continue
|
||||
|
||||
if(istype(O, /mob/living/carbon/human))
|
||||
if(ishuman(O))
|
||||
var/mob/living/carbon/human/H = O
|
||||
H.fear = 200
|
||||
if(sound_activated)
|
||||
|
||||
Reference in New Issue
Block a user