mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Merge pull request #8025 from VOREStation/upstream-merge-7224
[MIRROR] Fixes runtime in AI generation
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
|
||||
return src
|
||||
|
||||
/mob/new_player/AIize(var/move)
|
||||
/mob/new_player/AIize(var/move = TRUE)
|
||||
spawning = 1
|
||||
return ..()
|
||||
|
||||
@@ -59,7 +59,9 @@
|
||||
return O
|
||||
//VOREStation Edit End
|
||||
|
||||
/mob/living/carbon/AIize(var/move)
|
||||
return ..(move)
|
||||
|
||||
/mob/living/carbon/AIize(var/move = TRUE)
|
||||
if (transforming)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
@@ -73,7 +75,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
|
||||
|
||||
Reference in New Issue
Block a user