From 12bc79307dbeebf461c2a77988289eefaa2c635c Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Fri, 23 Mar 2018 19:09:30 -0400 Subject: [PATCH] Topic will no longer be called on deleted objects --- code/modules/client/client_procs.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index 6257826e021..48caf2392e4 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -109,6 +109,10 @@ GLOBAL_LIST_INIT(blacklisted_builds, list( if("openLink") src << link(href_list["link"]) + var/datum/real_src = hsrc + if(QDELETED(real_src)) + return + ..() //redirect to hsrc.Topic() /client/proc/is_content_unlocked()