From 644c8d1cc9151cf69049fd833a84d91db642be6e Mon Sep 17 00:00:00 2001 From: Kyep Date: Fri, 14 Aug 2020 08:21:16 -0700 Subject: [PATCH] AA requests --- code/modules/paperwork/faxmachine.dm | 5 +++-- tgui/packages/tgui/interfaces/FaxMachine.js | 2 +- tgui/packages/tgui/public/tgui.bundle.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/code/modules/paperwork/faxmachine.dm b/code/modules/paperwork/faxmachine.dm index a21ba8b45dd..5cfb9b9bb62 100644 --- a/code/modules/paperwork/faxmachine.dm +++ b/code/modules/paperwork/faxmachine.dm @@ -76,6 +76,7 @@ GLOBAL_LIST_EMPTY(fax_blacklist) scan(item) else if(istype(item, /obj/item/paper) || istype(item, /obj/item/photo) || istype(item, /obj/item/paper_bundle)) ..() + SStgui.update_uis(src) else return ..() @@ -129,8 +130,7 @@ GLOBAL_LIST_EMPTY(fax_blacklist) /obj/machinery/photocopier/faxmachine/tgui_act(action, params) - . = ..() - if(.) + if(..()) return var/is_authenticated = is_authenticated(usr) . = TRUE @@ -244,6 +244,7 @@ GLOBAL_LIST_EMPTY(fax_blacklist) usr.drop_item() card.forceMove(src) scan = card + SStgui.update_uis(src) /obj/machinery/photocopier/faxmachine/verb/eject_id() set category = null diff --git a/tgui/packages/tgui/interfaces/FaxMachine.js b/tgui/packages/tgui/interfaces/FaxMachine.js index 3307f99ee02..7fd52a3b6f5 100644 --- a/tgui/packages/tgui/interfaces/FaxMachine.js +++ b/tgui/packages/tgui/interfaces/FaxMachine.js @@ -32,7 +32,7 @@ export const FaxMachine = (props, context) => { {data.network} - +