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 ShizCalev
parent 7564e5d01c
commit ccade665f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -316,7 +316,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()
. = ..()