diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index 056316d5ea3e..48cc0388b508 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -158,7 +158,7 @@ return cell /obj/mecha/Destroy() - if(occupant && istype(occupant,/mob/living/carbon/human)) + if(occupant && iscarbon(occupant)) occupant.SetSleeping(destruction_sleep_duration) go_out() var/mob/living/silicon/ai/AI