Fixes conditionally added actions not appearing on player HUDs (#95624)

## About The Pull Request

Fuckup from the refactor, this should give the action to the mob not the
owner of the action.
Fixes purple raptors, ninja katanas, etc

## Changelog
🆑
fix: Fixed conditionally added actions not appearing on player HUDs
/🆑
This commit is contained in:
SmArtKar
2026-04-09 15:50:41 -07:00
committed by GitHub
parent 076bcd2d45
commit de6a6ac46e
5 changed files with 7 additions and 7 deletions
@@ -78,7 +78,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
///The internal attack ID for the elite's OpenFire() proc to use
var/chosen_attack_num = 0
/datum/action/innate/elite_attack/create_button()
/datum/action/innate/elite_attack/create_button(mob/viewer)
var/atom/movable/screen/movable/action_button/button = ..()
button.maptext = ""
button.maptext_x = 6
@@ -211,7 +211,7 @@
START_PROCESSING(SSobj, src)
/datum/action/innate/bci_charge_action/create_button()
/datum/action/innate/bci_charge_action/create_button(mob/viewer)
var/atom/movable/screen/movable/action_button/button = ..()
button.maptext_x = 2
button.maptext_y = 0
+1 -1
View File
@@ -199,7 +199,7 @@
START_PROCESSING(SSobj, src)
/datum/action/innate/implant_charge_action/create_button()
/datum/action/innate/implant_charge_action/create_button(mob/viewer)
var/atom/movable/screen/movable/action_button/button = ..()
button.maptext_x = 2
button.maptext_y = 0