Fix DMs showing players that have cryoed (#10437)

This commit is contained in:
JohnWildkins
2020-11-03 05:53:09 -05:00
committed by GitHub
parent 261bdd6b97
commit 5f76e33206
2 changed files with 12 additions and 0 deletions

View File

@@ -29,6 +29,10 @@
if(!comp)
return
/datum/computer_file/program/chatclient/Destroy()
ntnet_global.chat_clients -= src
return ..()
/datum/computer_file/program/chatclient/Topic(href, href_list)
if(..())
return TRUE
@@ -265,6 +269,8 @@
if((confirm != "Yes") || (CanUseTopic(usr) != STATUS_INTERACTIVE))
return FALSE
ntnet_global.chat_clients -= src
channel = null
..(forced)
return TRUE