From e589b9e27f2b52edf3e7fc2e0c43cb03d0d65dbf Mon Sep 17 00:00:00 2001 From: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Date: Fri, 4 Nov 2022 03:08:54 -0500 Subject: [PATCH] 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 :cl: Melbert fix: Triggering a traitor poster trap progresses their objective. /:cl: --- .../modules/antagonists/traitor/objectives/demoralise_poster.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/antagonists/traitor/objectives/demoralise_poster.dm b/code/modules/antagonists/traitor/objectives/demoralise_poster.dm index 87e4cc90603..b058b9f2efa 100644 --- a/code/modules/antagonists/traitor/objectives/demoralise_poster.dm +++ b/code/modules/antagonists/traitor/objectives/demoralise_poster.dm @@ -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)