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