mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
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  ## Changelog 🆑 Melbert fix: Rush Gland now triggers correctly on being grabbed by a Goliath /🆑
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user