Merge pull request #5305 from VOREStation/pol-autosay

Prevent autosay() from creating/deleting AIs
This commit is contained in:
Anewbe
2018-06-02 11:46:38 -05:00
committed by GitHub
3 changed files with 14 additions and 4 deletions
+12 -1
View File
@@ -1,7 +1,6 @@
#define AI_CHECK_WIRELESS 1
#define AI_CHECK_RADIO 2
var/list/ai_list = list()
var/list/ai_verbs_default = list(
// /mob/living/silicon/ai/proc/ai_recall_shuttle,
/mob/living/silicon/ai/proc/ai_emergency_message,
@@ -789,5 +788,17 @@ var/list/ai_verbs_default = list(
// If that is ever fixed please update this proc.
return TRUE
//Special subtype kept around for global announcements
/mob/living/silicon/ai/announcer/initialize()
. = ..()
mob_list -= src
living_mob_list -= src
dead_mob_list -= src
ai_list -= src
silicon_mob_list -= src
/mob/living/silicon/ai/announcer/Life()
return
#undef AI_CHECK_WIRELESS
#undef AI_CHECK_RADIO