[MIRROR] some istype to macros (#9802)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-05 15:01:49 -07:00
committed by GitHub
parent 73486c399b
commit ed79946ade
409 changed files with 750 additions and 751 deletions

View File

@@ -177,7 +177,7 @@
else
var/list/candidates = list()
for(var/client/player in GLOB.clients)
if(player.mob && istype(player.mob, /mob/observer/dead))
if(player.mob && isobserver(player.mob))
candidates |= player
if(!candidates.len)
@@ -194,7 +194,7 @@
spawned_mob.tag = "awaiting drop"
// Equip them, if they are human and it is desirable.
if(istype(spawned_mob, /mob/living/carbon/human))
if(ishuman(spawned_mob))
var/antag_type = tgui_input_list(usr, "Select an equipment template to use or cancel for nude.", all_antag_types)
if(antag_type)
var/datum/antagonist/A = all_antag_types[antag_type]