mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #7036 from atlantiscze/2020_04_24_IntellicoreFix
Fixes Intellicore grabbing AI multiple times
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user