- AI's name is now correctly displayed when the AI is clientless while being grabbed with intellicard.
- AI's wireless radio is no longer automatically muted when the AI is transferred to intellicard. It may still be muted from the UI if the intellicard's owner wants it.
This commit is contained in:
Atlantis
2015-06-06 06:28:46 +02:00
parent 2da0a5e979
commit 4b19e8be69

View File

@@ -91,7 +91,7 @@
/obj/item/device/aicard/proc/grab_ai(var/mob/living/silicon/ai/ai, var/mob/living/user) /obj/item/device/aicard/proc/grab_ai(var/mob/living/silicon/ai/ai, var/mob/living/user)
if(!ai.client) if(!ai.client)
user << "<span class='danger'>ERROR:</span> [name] data core is offline. Unable to download." user << "<span class='danger'>ERROR:</span> AI [ai.name] is offline. Unable to download."
return 0 return 0
if(carded_ai) if(carded_ai)
@@ -112,7 +112,6 @@
ai.cancel_camera() ai.cancel_camera()
ai.control_disabled = 1 ai.control_disabled = 1
ai.aiRestorePowerRoutine = 0 ai.aiRestorePowerRoutine = 0
ai.aiRadio.disabledAi = 1
carded_ai = ai carded_ai = ai
if(ai.client) if(ai.client)