Merge pull request #5583 from Krausus/AISpawningFixes

AI Spawning Fixes
This commit is contained in:
Fox McCloud
2016-08-31 16:33:27 -04:00
committed by GitHub
3 changed files with 7 additions and 5 deletions
@@ -61,6 +61,7 @@ var/global/list/empty_playable_ai_cores = list()
loc_landmark = sloc
forceMove(loc_landmark.loc)
view_core()
// Before calling this, make sure an empty core exists, or this will no-op
/mob/living/silicon/ai/proc/moveToEmptyCore()
@@ -73,6 +74,6 @@ var/global/list/empty_playable_ai_cores = list()
empty_playable_ai_cores -= C
forceMove(C.loc)
view_core()
qdel(C)
+3 -1
View File
@@ -37,7 +37,9 @@
O.add_ai_verbs()
O.rename_self("AI",1)
qdel(src)
spawn()
qdel(src)
return O
/mob/living/carbon/human/make_into_mask(var/should_gib = 0)