mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes #8398.
Cryopods/cells that contains mobs will now drop them to the ground on deletion.
This commit is contained in:
@@ -24,6 +24,11 @@
|
|||||||
..()
|
..()
|
||||||
initialize_directions = dir
|
initialize_directions = dir
|
||||||
|
|
||||||
|
/obj/machinery/atmospherics/unary/cryo_cell/Del()
|
||||||
|
if(occupant)
|
||||||
|
occupant.loc = loc
|
||||||
|
..()
|
||||||
|
|
||||||
/obj/machinery/atmospherics/unary/cryo_cell/initialize()
|
/obj/machinery/atmospherics/unary/cryo_cell/initialize()
|
||||||
if(node) return
|
if(node) return
|
||||||
var/node_connect = dir
|
var/node_connect = dir
|
||||||
|
|||||||
@@ -234,6 +234,12 @@
|
|||||||
|
|
||||||
..()
|
..()
|
||||||
|
|
||||||
|
/obj/machinery/cryopod/Del()
|
||||||
|
if(occupant)
|
||||||
|
occupant.loc = loc
|
||||||
|
occupant.resting = 1
|
||||||
|
..()
|
||||||
|
|
||||||
/obj/machinery/cryopod/initialize()
|
/obj/machinery/cryopod/initialize()
|
||||||
..()
|
..()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user