From dbbbf547adcdd5d6b7a25651b56f48af643e60ec Mon Sep 17 00:00:00 2001 From: adamsong Date: Sun, 27 Feb 2022 23:45:10 -0500 Subject: [PATCH] Fixes checking if the client is a turf (#65166) --- code/modules/admin/view_variables/topic_basic.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/view_variables/topic_basic.dm b/code/modules/admin/view_variables/topic_basic.dm index d483c69aade..9f0aee07d32 100644 --- a/code/modules/admin/view_variables/topic_basic.dm +++ b/code/modules/admin/view_variables/topic_basic.dm @@ -44,8 +44,8 @@ if(check_rights(R_DEBUG)) if(href_list[VV_HK_DELETE]) usr.client.admin_delete(target) - if (isturf(src)) // show the turf that took its place - usr.client.debug_variables(src) + if (isturf(target)) // show the turf that took its place + usr.client.debug_variables(target) return if(href_list[VV_HK_MARK])