Fixes runtime in AI generation (#7224)

This commit is contained in:
Atermonera
2020-05-21 20:27:07 -07:00
committed by GitHub
parent ed4c26b20c
commit 37d66ca0bd

View File

@@ -41,7 +41,7 @@
return src
/mob/new_player/AIize()
/mob/new_player/AIize(var/move = TRUE)
spawning = 1
return ..()
@@ -53,7 +53,7 @@
return ..(move)
/mob/living/carbon/AIize()
/mob/living/carbon/AIize(var/move = TRUE)
if (transforming)
return
for(var/obj/item/W in src)
@@ -67,7 +67,7 @@
/mob/proc/AIize(var/move = TRUE)
if(client)
src << sound(null, repeat = 0, wait = 0, volume = 85, channel = 1) // stop the jams for AIs
var/newloc = loc
if(move)
var/obj/loc_landmark