mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Fix - Bodybag tags don't disappear when opening/closing the bags. (#17164)
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
return
|
||||
cut_overlays()
|
||||
if(t)
|
||||
add_overlay(image(icon, "bodybag_label"))
|
||||
add_overlay("bodybag_label")
|
||||
return
|
||||
if(istype(I, /obj/item/wirecutters))
|
||||
to_chat(user, "<span class='notice'>You cut the tag off the bodybag.</span>")
|
||||
@@ -53,6 +53,10 @@
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
/obj/structure/closet/body_bag/update_overlays()
|
||||
..()
|
||||
if(name != initial(name))
|
||||
add_overlay("bodybag_label")
|
||||
|
||||
/obj/structure/closet/body_bag/MouseDrop(over_object, src_location, over_location)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user