[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

View File

@@ -30,14 +30,14 @@
. = ..()
// stack_trace("WARNING: Embedded controller [src] ([type]) had Topic() called unexpectedly. Please report this.") // statpanel means that topic can always be called for clicking
/obj/machinery/embedded_controller/tgui_act(action, params)
/obj/machinery/embedded_controller/tgui_act(action, params, datum/tgui/ui)
if(..())
return TRUE
if(LAZYLEN(valid_actions))
if(action in valid_actions)
program.receive_user_command(action)
if(usr)
add_fingerprint(usr)
if(ui.user)
add_fingerprint(ui.user)
/obj/machinery/embedded_controller/process()
if(program)