mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user