mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] NIF Commlink auto-install (#10661)
Co-authored-by: eghughguhhhhhh <Hawoogabooga@gmail.com> Co-authored-by: vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c0ec495ce3
commit
de148092e0
@@ -12,6 +12,8 @@
|
||||
/datum/nifsoft/commlink/install()
|
||||
if((. = ..()))
|
||||
nif.comm = new(nif,src)
|
||||
if(nif.human?.client?.prefs?.communicator_visibility)
|
||||
nif.comm.initialize_exonet(nif.human) //no harm in running this twice.
|
||||
|
||||
/datum/nifsoft/commlink/uninstall()
|
||||
var/obj/item/nif/lnif = nif //Awkward. Parent clears it in an attempt to clean up.
|
||||
|
||||
Reference in New Issue
Block a user