From a5cae13a277fa8ec35ed03deb59ea7f24de7ba31 Mon Sep 17 00:00:00 2001 From: robbertapir <102324362+robbertapir@users.noreply.github.com> Date: Wed, 18 May 2022 08:02:51 +0200 Subject: [PATCH] Fixes attacking humans, paintings and some other stuff with items causing the animation to display incorrectly (#66227) Fixes #58058 (Fried items have error sprites when attacking, fried and grilled items grill the error sprite) Attacking humans or other things that have KEEP_TOGETHER (atmos omni tanks, supplypods, paintings) with a deep fried thing will now actually show that thing instead of both that thing and an error sprite. Attack animations for attacks against those things are no longer black. --- code/game/objects/items.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index f127dac042a..a379108a77b 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -1357,7 +1357,7 @@ GLOBAL_DATUM_INIT(fire_overlay, /mutable_appearance, mutable_appearance('icons/e attack_image = image('icons/effects/effects.dmi', attacked_atom, visual_effect_icon, attacked_atom.layer + 0.1) else if(used_item) attack_image = image(icon = used_item, loc = attacked_atom, layer = attacked_atom.layer + 0.1) - attack_image.plane = attacked_atom.plane + attack_image.plane = attacked_atom.plane + 1 // Scale the icon. attack_image.transform *= 0.4