From b68e916ca20d786744dfd55d331af305db258a57 Mon Sep 17 00:00:00 2001 From: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com> Date: Tue, 7 Apr 2026 06:28:15 +0300 Subject: [PATCH] Fixes empty message when ejecting an ID card from PDA. (#95653) ## About The Pull Request this image ## Changelog :cl: fix: Fixed empty message when ejecting an ID card from PDA. /:cl: --- code/modules/modular_computers/computers/item/computer.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/modular_computers/computers/item/computer.dm b/code/modules/modular_computers/computers/item/computer.dm index 9607ac1e506..cced073163e 100644 --- a/code/modules/modular_computers/computers/item/computer.dm +++ b/code/modules/modular_computers/computers/item/computer.dm @@ -371,6 +371,7 @@ * * silent - Boolean, determines whether fluff text would be printed */ /obj/item/modular_computer/remove_id(mob/user, silent = FALSE) + var/obj/item/lost_id = stored_id if(!stored_id) return ..() @@ -381,8 +382,6 @@ user.put_in_hands(stored_id) else stored_id.forceMove(drop_location()) - - var/obj/item/lost_id = stored_id stored_id = null if(!silent && !isnull(user))