[MIRROR] fixes a runtime with dropping advanced cards from wallets [MDB IGNORE] (#9156)

* fixes a runtime with dropping advanced cards from wallets (#62440)

fixes a runtime when transferring advanced ids to/from wallets
Fixes #62036

* fixes a runtime with dropping advanced cards from wallets

Co-authored-by: Seris02 <49109742+Seris02@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-10-31 22:35:26 +00:00
committed by GitHub
co-authored by Seris02
parent 9d1b319c5f
commit 8724bbeaca
+1 -1
View File
@@ -810,7 +810,7 @@
var/obj/item/modular_computer/tablet/slot_holder = slot.holder
UnregisterSignal(slot_holder, list(COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED))
if(istype(loc, /obj/item/pda) || istype(OldLoc, /obj/item/storage/wallet))
if(istype(loc, /obj/item/pda) || istype(loc, /obj/item/storage/wallet))
RegisterSignal(loc, COMSIG_ITEM_EQUIPPED, .proc/update_intern_status)
RegisterSignal(loc, COMSIG_ITEM_DROPPED, .proc/remove_intern_status)