mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
fix nigf init (#17161)
This commit is contained in:
@@ -150,16 +150,19 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable
|
||||
return FALSE
|
||||
forceMove(parent)
|
||||
parent.implants += src
|
||||
if(!H) //Or letting them get deleted
|
||||
return
|
||||
if(H.mind)
|
||||
owner = H.mind.name
|
||||
owner_key = H.ckey
|
||||
implant(H)
|
||||
addtimer(CALLBACK(src, PROC_REF(quick_install), H), 1)
|
||||
return TRUE
|
||||
|
||||
return FALSE
|
||||
|
||||
/obj/item/nif/proc/quick_install(var/mob/living/carbon/human/H)
|
||||
if(!H) //Or letting them get deleted
|
||||
return
|
||||
if(H.mind)
|
||||
owner = H.mind.name
|
||||
owner_key = H.ckey
|
||||
implant(H)
|
||||
|
||||
//Being removed from some mob
|
||||
/obj/item/nif/proc/unimplant(var/mob/living/carbon/human/H)
|
||||
var/datum/nifsoft/soulcatcher/SC = imp_check(NIF_SOULCATCHER)
|
||||
|
||||
Reference in New Issue
Block a user