mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
@@ -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.
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
nif.human.verbs |= /mob/living/carbon/human/proc/nme
|
||||
|
||||
uninstall()
|
||||
if((. = ..()))
|
||||
if((. = ..()) && nif && nif.human) //Sometimes NIFs are deleted outside of a human
|
||||
nif.human.verbs -= /mob/living/carbon/human/proc/nsay
|
||||
nif.human.verbs -= /mob/living/carbon/human/proc/nme
|
||||
|
||||
@@ -201,6 +201,7 @@
|
||||
//Put the mind and player into the mob
|
||||
M.mind.transfer_to(brainmob)
|
||||
brainmob.name = brainmob.mind.name
|
||||
brainmob.real_name = brainmob.mind.name
|
||||
|
||||
//If we caught our owner, special settings.
|
||||
if(M == nif.human)
|
||||
|
||||
Reference in New Issue
Block a user