From 5f1b642a599e17ae314c6d8cefc7e38fb0c0b45f Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Thu, 29 Feb 2024 14:34:02 -0500 Subject: [PATCH] [MIRROR] Removes unused tgui_id var (#1211) * Removes unused tgui_id var (#81704) ## About The Pull Request This var is used for modular PCs to swap between programs but it is unused on the machinery entirely, if someone wants to re-add it as something that is actually used then feel free but currently it is useless and confused me for a moment on tgui stuff, so I thought I should kill it. * Removes unused tgui_id var --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> --- code/game/machinery/_machinery.dm | 2 -- code/modules/power/monitor.dm | 1 - 2 files changed, 3 deletions(-) diff --git a/code/game/machinery/_machinery.dm b/code/game/machinery/_machinery.dm index ba59eb302bd..7485e1253a6 100644 --- a/code/game/machinery/_machinery.dm +++ b/code/game/machinery/_machinery.dm @@ -136,8 +136,6 @@ var/market_verb = "Customer" var/payment_department = ACCOUNT_ENG - /// For storing and overriding ui id - var/tgui_id // ID of TGUI interface ///Is this machine currently in the atmos machinery queue? var/atmos_processing = FALSE /// world.time of last use by [/mob/living] diff --git a/code/modules/power/monitor.dm b/code/modules/power/monitor.dm index 32e461ba8f8..3d4c92d8b19 100644 --- a/code/modules/power/monitor.dm +++ b/code/modules/power/monitor.dm @@ -8,7 +8,6 @@ light_color = LIGHT_COLOR_DIM_YELLOW use_power = ACTIVE_POWER_USE circuit = /obj/item/circuitboard/computer/powermonitor - tgui_id = "PowerMonitor" var/datum/weakref/attached_wire_ref var/datum/weakref/local_apc_ref