From ff827ce8317b330ffc3e863aa1ebff4f26f0fe45 Mon Sep 17 00:00:00 2001 From: Mechoid Date: Thu, 21 Jun 2018 00:18:41 -0700 Subject: [PATCH] Fix AI-drone runtimes. Get angry at commits. (#5366) * Allows AIs to control maint/construction drones. * Radio control online. * Things Not Saving * Drone control respects intellicores. * Config control, AI drones are disableable if the AI isn't an antag. * There's a diff so it must have saved. Right? * No un/wrenching of the core. * Complies to Replies. * Fix some AI-drone runtimes. --- code/modules/mob/living/silicon/robot/drone/drone.dm | 1 + .../mob/living/silicon/robot/drone/drone_remote_control.dm | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/silicon/robot/drone/drone.dm b/code/modules/mob/living/silicon/robot/drone/drone.dm index 599eacdfa9..0273ea1a72 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone.dm @@ -115,6 +115,7 @@ var/list/mob_hat_cache = list() verbs -= /mob/living/silicon/robot/verb/Namepick updateicon() + updatename() /mob/living/silicon/robot/drone/init() aiCamera = new/obj/item/device/camera/siliconcam/drone_camera(src) diff --git a/code/modules/mob/living/silicon/robot/drone/drone_remote_control.dm b/code/modules/mob/living/silicon/robot/drone/drone_remote_control.dm index 77abb0e59d..4980c24ca3 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_remote_control.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_remote_control.dm @@ -93,8 +93,7 @@ radio.channels = module.channels verbs -= /mob/living/silicon/robot/drone/proc/release_ai_control_verb - languages = initial(languages) - speech_synthesizer_langs = initial(speech_synthesizer_langs) + module.remove_languages(src) //Removes excess, adds 'default'. remove_language("Robot Talk") add_language("Robot Talk", 0) add_language("Drone Talk", 1)