From ab11392dd8a2aea5dc480f99418b3b6f482bc4e9 Mon Sep 17 00:00:00 2001 From: Gristlebee <56049844+Gristlebee@users.noreply.github.com> Date: Tue, 11 Jun 2024 23:13:11 -0700 Subject: [PATCH] Update code/game/mecha/mecha.dm Co-authored-by: Theos Signed-off-by: Gristlebee <56049844+Gristlebee@users.noreply.github.com> --- code/game/mecha/mecha.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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