From 8d6a789a28ac0ce8e626b2108cada20308192fb7 Mon Sep 17 00:00:00 2001 From: Doxxmedearly <38594443+Doxxmedearly@users.noreply.github.com> Date: Thu, 2 Jun 2022 12:58:14 -0400 Subject: [PATCH] Fixes ship-console linking runtime (#14172) --- code/modules/overmap/ships/computers/ship.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/overmap/ships/computers/ship.dm b/code/modules/overmap/ships/computers/ship.dm index 7bafeed4e6c..dd365ebce60 100644 --- a/code/modules/overmap/ships/computers/ship.dm +++ b/code/modules/overmap/ships/computers/ship.dm @@ -120,8 +120,9 @@ somewhere on that shuttle. Subtypes of these can be then used to perform ship ov . = ..() if(.) - connected = linked - LAZYSET(connected.consoles, src, TRUE) + if(istype(linked, /obj/effect/overmap/visitable/ship)) //Only ships get ship computers + connected = linked + LAZYSET(connected.consoles, src, TRUE) /obj/machinery/computer/ship/Initialize() . = ..()