Merge pull request #7036 from atlantiscze/2020_04_24_IntellicoreFix

Fixes Intellicore grabbing AI multiple times
This commit is contained in:
Atermonera
2020-04-25 13:22:53 -07:00
committed by VirgoBot
parent d9b837dab1
commit 631a544ddb

View File

@@ -115,6 +115,9 @@
show_message(span("critical", "\The [user] is transferring you into \the [src]!"))
if(do_after(user, 100))
if(carded_ai)
to_chat(user, "<span class='danger'>Transfer failed:</span> Existing AI found on remote device. Remove existing AI to install a new one.")
return 0
if(istype(ai.loc, /turf/))
new /obj/structure/AIcore/deactivated(get_turf(ai))