Allows duplicates of shuttle templates (#39219)

* Allows duplicates of shuttle templates

* Trigger shuttle linkage from template load
This commit is contained in:
Emmett Gaines
2018-07-26 22:46:35 +12:00
committed by oranges
parent ad374a1ce8
commit 3ffd45eaf5
5 changed files with 39 additions and 23 deletions
+3
View File
@@ -69,3 +69,6 @@
obj_flags |= EMAGGED
to_chat(user, "<span class='notice'>You fried the consoles ID checking system.</span>")
/obj/machinery/computer/shuttle/proc/connect_to_shuttle(obj/docking_port/mobile/port, obj/docking_port/stationary/dock, idnum, override=FALSE)
if(port && (shuttleId == initial(shuttleId) || override))
shuttleId = port.id