From 9085e8a3bbf10f95cda2a08aee8dfdfaee199da3 Mon Sep 17 00:00:00 2001 From: Zxaber <37497534+zxaber@users.noreply.github.com> Date: Wed, 22 Jul 2020 00:41:30 -0700 Subject: [PATCH] Moves AI eye to their shell upon disconnecting --- code/modules/mob/living/silicon/robot/robot.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm index 9ee28f6aeea..9423067e6b9 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -983,6 +983,8 @@ mainframe.diag_hud_set_deployed() if(mainframe.laws) mainframe.laws.show_laws(mainframe) //Always remind the AI when switching + if(mainframe.eyeobj) + mainframe.eyeobj.setLoc(loc) mainframe = null /mob/living/silicon/robot/attack_ai(mob/user)