Fix runtime from triggering rush organ via goliath grab (#81101)

## About The Pull Request

`trigger_organ_action`'s first and only argument is trigger flags to
pass to `Trigger`

The first argument if signals is the datum sending the signal


![image](https://github.com/tgstation/tgstation/assets/51863163/ebde6e12-f5de-41f9-829e-0727cc8b3072)


## Changelog

🆑 Melbert
fix: Rush Gland now triggers correctly on being grabbed by a Goliath
/🆑
This commit is contained in:
MrMelbert
2024-01-26 22:25:05 +00:00
committed by GitHub
parent 771f6dab15
commit 68bfc31a51
@@ -23,7 +23,7 @@
/obj/item/organ/internal/monster_core/rush_gland/on_mob_insert(mob/living/carbon/organ_owner)
. = ..()
RegisterSignal(organ_owner, COMSIG_GOLIATH_TENTACLED_GRABBED, PROC_REF(trigger_organ_action))
RegisterSignal(organ_owner, COMSIG_GOLIATH_TENTACLED_GRABBED, PROC_REF(trigger_organ_action_on_sig))
/obj/item/organ/internal/monster_core/rush_gland/on_mob_remove(mob/living/carbon/organ_owner, special)
. = ..()
@@ -32,6 +32,10 @@
/obj/item/organ/internal/monster_core/rush_gland/on_triggered_internal()
owner.apply_status_effect(/datum/status_effect/lobster_rush/extended)
/obj/item/organ/internal/monster_core/rush_gland/proc/trigger_organ_action_on_sig(datum/source)
SIGNAL_HANDLER
INVOKE_ASYNC(src, PROC_REF(trigger_organ_action))
/**
* Status effect: Makes you run really fast and ignore speed penalties for a short duration.
* If you run into a wall indoors you will fall over and lose the buff.