Fixes sleeperbellies not supplying air to occupant

Fixes sleeperbellies forcing the occupant to breathe external atmosphere and killing the occupant in hostile external environments.
This commit is contained in:
Verkister
2020-01-11 17:13:10 +02:00
committed by GitHub
parent 24da40a882
commit bcced2f53b

View File

@@ -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))