AI spawning fixes

This commit is contained in:
Krausus
2016-08-31 02:53:17 -04:00
parent 52a9a69509
commit dc1b51a1ef
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)