mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Rewrite examine() to pass a list around
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
var/obj/item/clothing/accessory/badge/corptag // The tag on the bag.
|
||||
|
||||
/obj/structure/closet/body_bag/cryobag/robobag/examine(mob/user)
|
||||
..()
|
||||
if(Adjacent(user) && corptag)
|
||||
to_chat(user, "<span class='notice'>\The [src] has a [corptag] attached to it.</span>")
|
||||
. = ..()
|
||||
if(corptag && Adjacent(user))
|
||||
. += "<span class='notice'>[src] has a [corptag] attached to it.</span>"
|
||||
|
||||
/obj/structure/closet/body_bag/cryobag/robobag/update_icon()
|
||||
overlays.Cut()
|
||||
|
||||
Reference in New Issue
Block a user