mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
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. 🆑 Twinmold Fix: Fixes removing ID cards from laptops with the Eject ID verb. /🆑
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user