From 281ddf73ba833068a3c73c678805039c9d032b43 Mon Sep 17 00:00:00 2001 From: Dap Date: Mon, 25 Nov 2019 14:48:26 -0700 Subject: [PATCH] Ports AI console focus loss fix and fixes an error in my trimline code Port of https://github.com/tgstation/tgstation/pull/44207 and I copy pasted code and missed renaming one thing. --- code/game/machinery/computer/communications.dm | 8 -------- .../game/objects/effects/decals/turfdecal/tilecoloring.dm | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index f3612078d6..0128ade1f3 100755 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -42,12 +42,6 @@ . = ..() GLOB.shuttle_caller_list += src -/obj/machinery/computer/communications/process() - if(..()) - var/ai_autoupdate = aistate != STATE_STATUSDISPLAY && aistate != STATE_CALLSHUTTLE && aistate != STATE_PURCHASE && aistate != STATE_VIEWMESSAGE - var/machine_user_autoupdate = state != STATE_STATUSDISPLAY && state != STATE_CALLSHUTTLE && state != STATE_PURCHASE && state != STATE_VIEWMESSAGE - updateDialog(machine_user_autoupdate,ai_autoupdate) - /obj/machinery/computer/communications/Topic(href, href_list) if(..()) return @@ -588,8 +582,6 @@ popup.set_content(dat) popup.open() - popup.set_content(dat) - popup.open() /obj/machinery/computer/communications/proc/get_javascript_header(form_id) var/dat = {"