Fixes blood drunk miner's dash and some mecha actions not working (#92772)

## About The Pull Request

#92354 missed a few uses of Trigger, so blood drunk was missing the
clicker arg and some mecha actions didn't account for the change.

## Changelog
🆑
fix: Fixed blood drunk miner's dash and some mecha actions not working
/🆑
This commit is contained in:
SmArtKar
2025-09-04 22:59:34 -04:00
committed by GitHub
parent 02682184ed
commit a0464ce370
4 changed files with 5 additions and 5 deletions
@@ -200,7 +200,7 @@ Difficulty: Medium
/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner/hunter/AttackingTarget(atom/attacked_target)
. = ..()
if(. && prob(12))
INVOKE_ASYNC(dash, TYPE_PROC_REF(/datum/action, Trigger), NONE, target)
INVOKE_ASYNC(dash, TYPE_PROC_REF(/datum/action, Trigger), src, NONE, target)
/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner/doom
name = "hostile-environment miner"
+2 -2
View File
@@ -70,7 +70,7 @@
if(defense_mode)
var/datum/action/action = LAZYACCESSASSOC(occupant_actions, M, /datum/action/vehicle/sealed/mecha/mech_defense_mode)
if(action)
INVOKE_ASYNC(action, TYPE_PROC_REF(/datum/action, Trigger), FALSE)
INVOKE_ASYNC(action, TYPE_PROC_REF(/datum/action, Trigger), null, NONE, FALSE)
return ..()
///Relays the signal from the action button to the shield, and creates a new shield if the old one is MIA.
@@ -142,7 +142,7 @@ Expects a turf. Returns true if the attack should be blocked, false if not.*/
name = "Toggle an energy shield that blocks all attacks from the faced direction at a heavy power cost."
button_icon_state = "mech_defense_mode_off"
/datum/action/vehicle/sealed/mecha/mech_defense_mode/Trigger(trigger_flags, forced_state = FALSE)
/datum/action/vehicle/sealed/mecha/mech_defense_mode/Trigger(mob/clicker, trigger_flags, forced_state = FALSE)
if(!..())
return
if(!chassis || !(owner in chassis.occupants))
+1 -1
View File
@@ -154,7 +154,7 @@
name = "Toggle overclocking"
button_icon_state = "mech_overload_off"
/datum/action/vehicle/sealed/mecha/mech_overclock/Trigger(trigger_flags, forced_state = null)
/datum/action/vehicle/sealed/mecha/mech_overclock/Trigger(mob/clicker, trigger_flags, forced_state = null)
if(!..())
return
if(!chassis || !(owner in chassis.occupants))
@@ -183,7 +183,7 @@
var/obj/vehicle/sealed/mecha/ripley/paddy/secmech = chassis
button_icon_state = "mech_siren_[secmech?.siren ? "on" : "off"]"
/datum/action/vehicle/sealed/mecha/siren/Trigger(trigger_flags, forced_state = FALSE)
/datum/action/vehicle/sealed/mecha/siren/Trigger(mob/clicker, trigger_flags, forced_state = FALSE)
if(!..())
return
var/obj/vehicle/sealed/mecha/ripley/paddy/secmech = chassis