mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 12:44:04 +01:00
[MIRROR] some smaller cleanup (#12353)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a02e343047
commit
ad7616b0eb
@@ -168,6 +168,7 @@
|
||||
if(inserted_id && !powered())
|
||||
visible_message(span_notice("The ID slot indicator light flickers on \the [src] as it spits out a card before powering down."))
|
||||
inserted_id.forceMove(get_turf(src))
|
||||
inserted_id = null
|
||||
|
||||
/obj/machinery/mineral/equipment_vendor/update_icon()
|
||||
if(panel_open)
|
||||
@@ -307,6 +308,7 @@
|
||||
/obj/machinery/mineral/equipment_vendor/dismantle()
|
||||
if(inserted_id)
|
||||
inserted_id.forceMove(loc) //Prevents deconstructing the ORM from deleting whatever ID was inside it.
|
||||
inserted_id = null
|
||||
. = ..()
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user