From 2be0f092bf4031c65cd4efd349aa2c5c8b41b6b4 Mon Sep 17 00:00:00 2001 From: AnturK Date: Tue, 24 Mar 2020 09:33:32 +0100 Subject: [PATCH] Fixes ghost operating gateways. (#50157) --- code/modules/awaymissions/gateway.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/awaymissions/gateway.dm b/code/modules/awaymissions/gateway.dm index 65241e3513f..0164d188d36 100644 --- a/code/modules/awaymissions/gateway.dm +++ b/code/modules/awaymissions/gateway.dm @@ -297,6 +297,8 @@ GLOBAL_LIST_EMPTY(gateway_destinations) /obj/machinery/computer/gateway_control/ui_act(action, list/params) . = ..() + if(.) + return switch(action) if("linkup") try_to_linkup()