[MIRROR] usr to user up to player effects (#9552)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-01 10:31:19 -07:00
committed by GitHub
parent a7e4ef7dad
commit 0180cc74c5
297 changed files with 1866 additions and 1893 deletions
@@ -206,7 +206,6 @@
ui.close()
return 1
if("PC_minimize")
var/mob/user = usr
if(!computer.active_program)
return
@@ -217,8 +216,8 @@
computer.update_icon()
ui.close()
if(user && istype(user))
computer.tgui_interact(user) // Re-open the UI on this computer. It should show the main screen now.
if(ui.user && istype(ui.user))
computer.tgui_interact(ui.user) // Re-open the UI on this computer. It should show the main screen now.