[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

@@ -37,7 +37,7 @@
if(2) // Eject pAI device
var/turf/T = get_turf_or_move(pda.loc)
if(T)
pda.pai.loc = T
pda.pai.forceMove(T)
pda.pai = null
return TRUE

View File

@@ -190,8 +190,6 @@
SStgui.close_uis(src)
/obj/item/pda/attack_self(mob/user as mob)
user.set_machine(src)
if(active_uplink_check(user))
return
@@ -444,8 +442,7 @@
return //Return in case of failed check or when successful.
updateSelfDialog()//For the non-input related code.
else if(istype(C, /obj/item/paicard) && !src.pai)
user.drop_item()
C.loc = src
user.drop_item(src)
pai = C
to_chat(user, span_notice("You slot \the [C] into \the [src]."))
SStgui.update_uis(src) // update all UIs attached to src
@@ -454,8 +451,7 @@
if(O)
to_chat(user, span_notice("There is already a pen in \the [src]."))
else
user.drop_item()
C.loc = src
user.drop_item(src)
to_chat(user, span_notice("You slot \the [C] into \the [src]."))
add_overlay("pda-pen")
return

View File

@@ -64,7 +64,6 @@
return TRUE
add_fingerprint(ui.user)
ui.user.set_machine(src)
if(!touch_silent)
playsound(src, 'sound/machines/pda_click.ogg', 20)