mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 16:14:08 +01:00
Fixes empty message when ejecting an ID card from PDA. (#95653)
## About The Pull Request this <img width="293" height="36" alt="image" src="https://github.com/user-attachments/assets/d41e4190-ea2a-4b47-9aec-198acdaf2f4e" /> ## Changelog 🆑 fix: Fixed empty message when ejecting an ID card from PDA. /🆑
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user