[MIRROR] Fixing client eye (#11812)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-10-12 19:44:25 -07:00
committed by GitHub
parent b9db7ed21f
commit 7d57273375
95 changed files with 762 additions and 710 deletions

View File

@@ -68,3 +68,5 @@
M.active_genes -= gene.name // Traitgenes Use name instead, cannot use type with dynamically setup traitgenes
M.update_icon = 1
M.update_mutations()
// Inform anything attached of our mutation
SEND_SIGNAL(M, COMSIG_MOB_DNA_MUTATION)

View File

@@ -172,8 +172,6 @@
to_chat(usr, span_warning("There is already something inside."))
return
usr.stop_pulling()
usr.client.perspective = EYE_PERSPECTIVE
usr.client.eye = src
usr.forceMove(src)
set_occupant(usr)
icon_state = "scanner_1"
@@ -250,9 +248,6 @@
. = ..()
/obj/machinery/dna_scannernew/proc/put_in(var/mob/M)
if(M.client)
M.client.perspective = EYE_PERSPECTIVE
M.client.eye = src
M.forceMove(src)
set_occupant(M)
icon_state = "scanner_1"
@@ -274,9 +269,6 @@
var/mob/living/carbon/WC = get_occupant()
if((!WC || locked))
return
if(WC.client)
WC.client.eye = WC.client.mob
WC.client.perspective = MOB_PERSPECTIVE
if(istype(WC,/mob/living/carbon/brain))
for(var/obj/O in src)
if(istype(O,/obj/item/organ/internal/brain))