mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes quitting pods not handling belly contents.
-Basically fixes the actually visible bug of ID-containing PDAs in bellies pooping their IDs on the floor when the pred leaves by cryo/tp/tram.
This commit is contained in:
@@ -391,6 +391,13 @@
|
||||
var/obj/belly/B = belly
|
||||
for(var/mob/living/sub_L in B)
|
||||
despawn_occupant(sub_L)
|
||||
for(var/obj/item/W in B)
|
||||
W.forceMove(src)
|
||||
if(W.contents.len)
|
||||
for(var/obj/item/O in W.contents)
|
||||
if(istype(O,/obj/item/weapon/storage/internal))
|
||||
continue
|
||||
O.forceMove(src)
|
||||
if(ishuman(to_despawn))
|
||||
var/mob/living/carbon/human/H = to_despawn
|
||||
if(H.nif)
|
||||
|
||||
Reference in New Issue
Block a user