From b98f16d6594251191069cc78a1d02239ff4841ee Mon Sep 17 00:00:00 2001 From: Fikou <23585223+Fikou@users.noreply.github.com> Date: Fri, 18 Mar 2022 09:18:13 +0100 Subject: [PATCH] modsuit storage empties when being removed from the suit (#65416) --- code/modules/mod/modules/modules_general.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mod/modules/modules_general.dm b/code/modules/mod/modules/modules_general.dm index 9d8896261b4..8593d6f2d0d 100644 --- a/code/modules/mod/modules/modules_general.dm +++ b/code/modules/mod/modules/modules_general.dm @@ -38,6 +38,7 @@ var/datum/component/storage/modstorage = mod.GetComponent(/datum/component/storage) storage.slaves -= modstorage qdel(modstorage) + SEND_SIGNAL(src, COMSIG_TRY_STORAGE_QUICK_EMPTY, drop_location()) SEND_SIGNAL(src, COMSIG_TRY_STORAGE_SET_LOCKSTATE, TRUE) UnregisterSignal(mod.chestplate, COMSIG_ITEM_PRE_UNEQUIP)