mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user