Modular computers QDEL and refdrops (#17655)

* Atomization

* sdfasdf

---------

Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
Fluffy
2023-10-26 19:41:29 +02:00
committed by GitHub
parent af5828a42a
commit 736922d4cd
11 changed files with 139 additions and 13 deletions

View File

@@ -35,7 +35,7 @@
downloading = FALSE
requires_ntnet = FALSE // Turn off NTNet requirement as we already loaded the file into local memory.
/datum/computer_file/program/newsbrowser/kill_program()
/datum/computer_file/program/newsbrowser/kill_program(forced)
..()
requires_ntnet = TRUE
loaded_article = null

View File

@@ -27,6 +27,11 @@
ui.autoupdate = FALSE
/datum/computer_file/program/chat_client/Destroy()
service_deactivate()
my_user = null
focused_conv = null
active = null
return ..()
/datum/computer_file/program/chat_client/proc/can_receive_notification(var/datum/computer_file/program/chat_client/from)
@@ -111,6 +116,11 @@
ntnet_global.chat_clients.Remove(src)
computer.update_static_data_for_all_viewers()
/datum/computer_file/program/chat_client/proc/handle_ntnet_user_deletion(var/datum/ntnet_user)
if(ntnet_user == src.my_user)
service_deactivate()
my_user = null
/datum/computer_file/program/chat_client/ui_data(mob/user)
. = ..()
var/list/data = list()

View File

@@ -92,6 +92,12 @@
. = ..()
listener = new(src)
/datum/computer_file/program/records/Destroy()
active = null
QDEL_NULL(listener)
active_virus = null
. = ..()
/datum/computer_file/program/records/ui_data(mob/user)
var/list/data = list(
"activeview" = "list",