mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
modsuit storage empties when being removed from the suit (#65416)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user