mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 21:27:01 +01:00
Merge pull request #2710 from VOREStation/aro-nifcryo
Despawn NIF occupants in cryo
This commit is contained in:
@@ -375,6 +375,13 @@
|
||||
|
||||
// VOREStation
|
||||
hook_vr("despawn", list(to_despawn, src))
|
||||
if(ishuman(to_despawn))
|
||||
var/mob/living/carbon/human/H = to_despawn
|
||||
if(H.nif)
|
||||
var/datum/nifsoft/soulcatcher/SC = H.nif.imp_check(NIF_SOULCATCHER)
|
||||
if(SC)
|
||||
for(var/bm in SC.brainmobs)
|
||||
despawn_occupant(bm)
|
||||
// VOREStation
|
||||
|
||||
//Drop all items into the pod.
|
||||
|
||||
Reference in New Issue
Block a user