Fixes the issue of usr pointing to admins by making Trigger pass down clicker (#92354)

## About The Pull Request
Fixes the issue of usr pointing to admins by making Trigger pass down
clicker, as usr is fucky and can be passed down by other unrelated
procs. Fun.
Added the clicker arg to all usages of Trigger as well
Also changes isobserver check in antagonist ui_act code that prevents
observers from clicking UI's instead to check if the ui.user is
owner.current
## Why It's Good For The Game
Fixes admins giving heretic to people opening the heretic UI for the
admin instead

(cherry picked from commit 0bc42d6940)
This commit is contained in:
Arturlang
2025-08-06 06:58:40 +03:00
committed by nevimer
parent 4137cfb94d
commit 1c0ac21cb4
48 changed files with 91 additions and 91 deletions
@@ -254,7 +254,7 @@
return ..()
/datum/action/innate/bci_charge_action/Trigger(trigger_flags)
/datum/action/innate/bci_charge_action/Trigger(mob/clicker, trigger_flags)
var/obj/item/stock_parts/power_store/cell/cell = circuit_component.parent.cell
if (isnull(cell))