From f28372d79485fb89d685803e6a4c7ba4a008e805 Mon Sep 17 00:00:00 2001 From: Gristlebee <56049844+Gristlebee@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:58:52 -0700 Subject: [PATCH] Update mecha.dm --- 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 88c2ca721da2..056316d5ea3e 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -158,7 +158,7 @@ return cell /obj/mecha/Destroy() - if(occupant) + if(occupant && istype(occupant,/mob/living/carbon/human)) occupant.SetSleeping(destruction_sleep_duration) go_out() var/mob/living/silicon/ai/AI