From 735628fc66ea8f7b0548789ece08eaf24744f856 Mon Sep 17 00:00:00 2001 From: Lzimann Date: Tue, 27 Dec 2016 09:02:04 -0200 Subject: [PATCH] Fixes AIs not being able to interact with satellite control. --- code/modules/station_goals/shield.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/station_goals/shield.dm b/code/modules/station_goals/shield.dm index b82ee24952b..2b67594d3a0 100644 --- a/code/modules/station_goals/shield.dm +++ b/code/modules/station_goals/shield.dm @@ -47,8 +47,7 @@ circuit = /obj/item/weapon/circuitboard/machine/computer/sat_control var/notice -/obj/machinery/computer/sat_control/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, \ - datum/tgui/master_ui = null, datum/ui_state/state = physical_state) +/obj/machinery/computer/sat_control/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, datum/tgui/master_ui = null, datum/ui_state/state = default_state) ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open) if(!ui) ui = new(user, src, ui_key, "sat_control", name, 400, 305, master_ui, state)