From d4cc3b3e686785fbba0abd880695ffa31d48ecbe Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 14 Jan 2023 04:34:07 +0100 Subject: [PATCH] [MIRROR] Fixes a bad argument for onwear comp [MDB IGNORE] (#18699) * Fixes a bad argument for onwear comp (#72653) ## About The Pull Request Everywhere used `saved_event_type` but the parameters, causing runtime ## Why It's Good For The Game Runtimes bad ## Changelog :cl: Melbert fix: Fixed not getting moodlet from freshly laundered clothing /:cl: * Fixes a bad argument for onwear comp Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> --- code/datums/components/onwear_mood.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/onwear_mood.dm b/code/datums/components/onwear_mood.dm index 886652d2057..8361a7653de 100644 --- a/code/datums/components/onwear_mood.dm +++ b/code/datums/components/onwear_mood.dm @@ -7,7 +7,7 @@ /// what slots it needs to be equipped to to work var/slot_equip -/datum/component/onwear_mood/Initialize(datum/mood_event/saved_event, examine_string, slot_equip = ITEM_SLOT_ON_BODY) +/datum/component/onwear_mood/Initialize(datum/mood_event/saved_event_type, examine_string, slot_equip = ITEM_SLOT_ON_BODY) if(!isitem(parent)) return COMPONENT_INCOMPATIBLE