Fixes ship-console linking runtime (#14172)

This commit is contained in:
Doxxmedearly
2022-06-02 18:58:14 +02:00
committed by GitHub
parent 28b6de44d4
commit 8d6a789a28
+3 -2
View File
@@ -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()
. = ..()