Merge pull request #7442 from VOREStation/upstream-merge-7036

[MIRROR] Fixes Intellicore grabbing AI multiple times
This commit is contained in:
Aronai Sieyes
2020-04-26 11:31:55 -04:00
committed by GitHub
@@ -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))