From 8d22e338e61c645da5a0a61bc9ff77af8d683ac8 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Fri, 9 Feb 2024 01:55:59 -0600 Subject: [PATCH] fixes xenos bricking cryopods (#24106) --- .../atmospherics/machinery/components/unary_devices/cryo.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm index d4dc2df7ac8..13f356d4a6d 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm @@ -412,7 +412,7 @@ occupant.forceMove(get_step(loc, SOUTH)) // Doesn't account for walls - if(occupant.bodytemperature < occupant.dna.species.cold_level_1) // Hacky fix for people taking burn damage after being ejected + if(ishuman(occupant) && occupant.bodytemperature < occupant.dna.species.cold_level_1) // Hacky fix for people taking burn damage after being ejected. Xenos also fit in these and they don't have dna occupant.bodytemperature = occupant.dna.species.cold_level_1 occupant = null