Skip to content

Commit

Permalink
[MIRROR] Removes unused tgui_id var (#2198)
Browse files Browse the repository at this point in the history
* 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: NovaBot <[email protected]>
Co-authored-by: John Willard <[email protected]>
  • Loading branch information
3 people authored Mar 1, 2024
1 parent 5a2d083 commit f1ccc75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions code/game/machinery/_machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 0 additions & 1 deletion code/modules/power/monitor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1ccc75

Please sign in to comment.