Include item overlays in attack animations (shows the proper color of screwdrivers etc) (#38225)

* overlay attacks

* this works too

* fix trays too
This commit is contained in:
vuonojenmustaturska
2018-06-03 21:24:45 +03:00
committed by letterjay
parent ab7709bedd
commit 568dfa7f35
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -310,7 +310,7 @@
/obj/item/storage/bag/tray/update_icon()
cut_overlays()
for(var/obj/item/I in contents)
add_overlay(mutable_appearance(I.icon, I.icon_state))
add_overlay(new /mutable_appearance(I))
/obj/item/storage/bag/tray/Entered()
. = ..()