mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
Fixes id cards being stuck in RFID removed from modular computers (#22132)
When the RFID slot is removed from a modular computer, it now ejects the id card in it. This occurs for example when it is destroyed by various means. --------- Signed-off-by: Casper3667 <8396443+Casper3667@users.noreply.github.com> Co-authored-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
This commit is contained in:
@@ -112,6 +112,7 @@
|
||||
nano_printer = null
|
||||
found = TRUE
|
||||
else if(card_slot == H)
|
||||
astype(H, /obj/item/computer_hardware/card_slot)?.eject_id()
|
||||
card_slot = null
|
||||
found = TRUE
|
||||
else if(battery_module == H)
|
||||
|
||||
Reference in New Issue
Block a user