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
@@ -736,7 +736,7 @@ GLOBAL_LIST_EMPTY(apcs)
|
||||
add_fingerprint(user)
|
||||
|
||||
//Human mob special interaction goes here.
|
||||
if(istype(user,/mob/living/carbon/human))
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/H = user
|
||||
|
||||
if(H.species.can_shred(H))
|
||||
@@ -785,7 +785,7 @@ GLOBAL_LIST_EMPTY(apcs)
|
||||
if(!user)
|
||||
return
|
||||
|
||||
if(wiresexposed && !istype(user, /mob/living/silicon/ai))
|
||||
if(wiresexposed && !isAI(user))
|
||||
wires.Interact(user)
|
||||
return //The panel is visibly dark when the wires are exposed, so we shouldn't be able to interact with it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user