From 8724bbeacaf18e2707ffc00af3d8388376bdb089 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 31 Oct 2021 22:35:26 +0000 Subject: [PATCH] [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> --- code/game/objects/items/cards_ids.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/cards_ids.dm b/code/game/objects/items/cards_ids.dm index 1f0b1d2a1f6..fcb2c751b5c 100644 --- a/code/game/objects/items/cards_ids.dm +++ b/code/game/objects/items/cards_ids.dm @@ -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)