[MIRROR] bunch of runtimes (#12664)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-04-11 16:16:28 -04:00
committed by GitHub
co-authored by Kashargul Cameron Lennox
parent dcba169643
commit a6988fa698
12 changed files with 68 additions and 54 deletions
+1
View File
@@ -104,6 +104,7 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable
/obj/item/nif/proc/unregister_human()
UnregisterSignal(human, COMSIG_MOB_DEATH)
human.nif = null
//Destructor cleans up references
/obj/item/nif/Destroy()
+5
View File
@@ -29,6 +29,11 @@
return COMPONENT_INCOMPATIBLE
. = ..()
/datum/component/nif_menu/Destroy(force)
if(screen_icon)
QDEL_NULL(screen_icon)
. = ..()
/datum/component/nif_menu/RegisterWithParent()
. = ..()
RegisterSignal(parent, COMSIG_MOB_CLIENT_LOGIN, PROC_REF(create_mob_button))