From 99f857fd6aca8937cea18f2d12e6694982ca327a Mon Sep 17 00:00:00 2001 From: Twinmold Date: Wed, 20 Jul 2016 01:14:09 -0500 Subject: [PATCH] Fixes Laptop ID Card Removal Fixes a bug with the removal of an ID card from laptops when you use the Eject ID verb. Now, it will actually remove the ID card, not just say it did. :cl: Twinmold Fix: Fixes removing ID cards from laptops with the Eject ID verb. /:cl: --- code/modules/computer3/laptop.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/computer3/laptop.dm b/code/modules/computer3/laptop.dm index dd4f73914b6..e32375a457c 100644 --- a/code/modules/computer3/laptop.dm +++ b/code/modules/computer3/laptop.dm @@ -101,14 +101,15 @@ var/obj/item/weapon/card/id/card if(C.reader) card = C.reader + C.remove_reader(usr) else if(C.writer) card = C.writer + C.remove_writer(usr) else to_chat(usr, "There is nothing to remove from the laptop card port.") return to_chat(usr, "You remove [card] from the laptop.") - C.remove(card) /obj/machinery/computer3/laptop