mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Latespawn AI will have their eye spawn in the correct location. (#8056)
This commit is contained in:
@@ -48,9 +48,8 @@
|
||||
if(client)
|
||||
client.eye = new_eye
|
||||
|
||||
/mob/living/silicon/ai/proc/create_eyeobj(var/newloc)
|
||||
/mob/living/silicon/ai/proc/create_eyeobj(var/newloc = get_turf(src))
|
||||
if(eyeobj) destroy_eyeobj()
|
||||
if(!newloc) newloc = get_turf(src)
|
||||
eyeobj = new /mob/abstract/eye/aiEye(newloc)
|
||||
eyeobj.possess(src)
|
||||
|
||||
|
||||
@@ -336,6 +336,7 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
empty_playable_ai_cores -= C
|
||||
|
||||
character.forceMove(C.loc)
|
||||
character.eyeobj.forceMove(C.loc)
|
||||
|
||||
AnnounceCyborg(character, rank, "has been downloaded to the empty core in \the [character.loc.loc]")
|
||||
SSticker.mode.handle_latejoin(character)
|
||||
|
||||
Reference in New Issue
Block a user