mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fixes incorrectly passed arguments to demoralise poster signal handler (#70887)
## About The Pull Request First argument is the source of the signal. This caused runtimes where it tried to check a poster's mind. ## Why It's Good For The Game Less runtimes ## Changelog 🆑 Melbert fix: Triggering a traitor poster trap progresses their objective. /🆑
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
* Arguments
|
||||
* * victim - A mob who just got something stuck in their hand.
|
||||
*/
|
||||
/datum/traitor_objective/demoralise/poster/proc/on_triggered_trap(mob/victim)
|
||||
/datum/traitor_objective/demoralise/poster/proc/on_triggered_trap(datum/source, mob/victim)
|
||||
SIGNAL_HANDLER
|
||||
on_mood_event(victim.mind)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user