From bcced2f53bfd3d8a5780f3ee5657e9d8869bc6a3 Mon Sep 17 00:00:00 2001 From: Verkister Date: Sat, 11 Jan 2020 17:13:10 +0200 Subject: [PATCH] Fixes sleeperbellies not supplying air to occupant Fixes sleeperbellies forcing the occupant to breathe external atmosphere and killing the occupant in hostile external environments. --- .../mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm b/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm index 07f130fda1..4ce5fd363a 100644 --- a/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm +++ b/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm @@ -50,6 +50,13 @@ /obj/item/device/dogborg/sleeper/Exit(atom/movable/O) return 0 +/obj/item/device/dogborg/sleeper/return_air() + return return_air_for_internal_lifeform() + +/obj/item/device/dogborg/sleeper/return_air_for_internal_lifeform() + var/datum/gas_mixture/belly_air/air = new(1000) + return air + /obj/item/device/dogborg/sleeper/afterattack(var/atom/movable/target, mob/living/silicon/user, proximity) hound = loc if(!istype(target))