mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user