[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

🆑 Melbert
fix: Fixed not getting moodlet from freshly laundered clothing
/🆑

* Fixes a bad argument for onwear comp

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-01-13 19:34:07 -08:00
committed by GitHub
co-authored by MrMelbert
parent 429d949279
commit d4cc3b3e68
+1 -1
View File
@@ -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