diff --git a/code/game/machinery/teleporter.dm b/code/game/machinery/teleporter.dm index c10375512fb..b2d9a910e68 100644 --- a/code/game/machinery/teleporter.dm +++ b/code/game/machinery/teleporter.dm @@ -588,9 +588,12 @@ if(exchange_parts(user, I)) return if(panel_open && istype(I, /obj/item/circuitboard/teleporter_perma)) + if(!teleporter_console) + to_chat(user, "[src] is not linked to a teleporter console.") + return var/obj/item/circuitboard/teleporter_perma/C = I C.target = teleporter_console.target - to_chat(user, "You copy the targeting information from [src] to [C]") + to_chat(user, "You copy the targeting information from [src] to [C].") return return ..()