From 93b81667aed5745ad426fff19254d18a5bb588bc Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 13 Nov 2023 18:54:10 +0100 Subject: [PATCH] [MIRROR] Blank IDs no longer get stuck in modular computers [MDB IGNORE] (#24977) * Blank IDs no longer get stuck in modular computers (#79689) See name. The Eject ID button now correctly lights up even with no name on the ID * Blank IDs no longer get stuck in modular computers --------- Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com> --- code/modules/modular_computers/computers/item/computer_ui.dm | 1 + tgui/packages/tgui/interfaces/NtosMain.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/modular_computers/computers/item/computer_ui.dm b/code/modules/modular_computers/computers/item/computer_ui.dm index 1b87a014f18..c98284fbf66 100644 --- a/code/modules/modular_computers/computers/item/computer_ui.dm +++ b/code/modules/modular_computers/computers/item/computer_ui.dm @@ -96,6 +96,7 @@ ) data["proposed_login"] = list( + IDInserted = computer_id_slot ? TRUE : FALSE, IDName = computer_id_slot?.registered_name, IDJob = computer_id_slot?.assignment, ) diff --git a/tgui/packages/tgui/interfaces/NtosMain.js b/tgui/packages/tgui/interfaces/NtosMain.js index 8debe5d93be..e7e0fc58446 100644 --- a/tgui/packages/tgui/interfaces/NtosMain.js +++ b/tgui/packages/tgui/interfaces/NtosMain.js @@ -83,7 +83,7 @@ export const NtosMain = (props, context) => {