From dcaa6c5db40e00f3a7359c9a189cd750958d614b Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Sun, 11 Jun 2017 17:28:40 -0500 Subject: [PATCH] Fixes #28182 (IED sprites are bugged) --- code/game/objects/items/weapons/grenades/ghettobomb.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/items/weapons/grenades/ghettobomb.dm b/code/game/objects/items/weapons/grenades/ghettobomb.dm index 76f3c8ac73..c9c33165d5 100644 --- a/code/game/objects/items/weapons/grenades/ghettobomb.dm +++ b/code/game/objects/items/weapons/grenades/ghettobomb.dm @@ -33,6 +33,8 @@ ..() var/obj/item/weapon/reagent_containers/food/drinks/soda_cans/can = locate() in contents if(can) + can.pixel_x = 0 //Reset the sprite's position to make it consistent with the rest of the IED + can.pixel_y = 0 var/mutable_appearance/can_underlay = new(can) can_underlay.layer = FLOAT_LAYER can_underlay.plane = FLOAT_PLANE