IED fixes

Fixes #8919 - can pixel_x/pixel_y is inherited by the IED after construction
Fixes an unreported issue where the can underlay of IED's would be rendered underneath your HUD when it was in your hands.
This commit is contained in:
MrPerson
2015-04-13 07:00:19 -07:00
parent ffd0db2b7b
commit 0a6fb70137
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -91,6 +91,8 @@
if(istype(A, /obj/item))
var/atom/movable/B = A
B.loc = I
B.pixel_x = initial(B.pixel_x)
B.pixel_y = initial(B.pixel_y)
else
if(!I.reagents)
I.reagents = new /datum/reagents()