Skip to content

Commit

Permalink
Update code/game/mecha/mecha.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Theos <[email protected]>
Signed-off-by: Gristlebee <[email protected]>
  • Loading branch information
Gristlebee and SomeguyManperson authored Jun 12, 2024
1 parent f28372d commit ab11392
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 && istype(occupant,/mob/living/carbon/human))
if(occupant && iscarbon(occupant))
occupant.SetSleeping(destruction_sleep_duration)
go_out()
var/mob/living/silicon/ai/AI
Expand Down

0 comments on commit ab11392

Please sign in to comment.