Skip to content

Commit

Permalink
Update mecha.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Gristlebee committed Jun 11, 2024
1 parent 63b2ff9 commit f28372d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/mecha/mecha.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f28372d

Please sign in to comment.