From f47d2c57fa9aa0e79ac8425c8e94258fc146ed69 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 28 Feb 2022 18:12:31 +0100 Subject: [PATCH] [MIRROR] Fixes checking if the client is a turf [MDB IGNORE] (#11784) * Fixes checking if the client is a turf (#65166) * Fixes checking if the client is a turf Co-authored-by: adamsong --- 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])