From bf3af56598a98a0b2674ebb5660b63de3789e7fe Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 15 Aug 2021 23:51:14 +0200 Subject: [PATCH] [MIRROR] fix flashing white spheres when attacking items with light sources and light spheres on inventory/action buttons (#7576) * fix flashing white spheres when attacking items with light sources and light spheres on inventory/action buttons (#60756) * fix white sphere bug * fix overlay lighting creating lights in inventory and action button * fix flashing white spheres when attacking items with light sources and light spheres on inventory/action buttons Co-authored-by: Couls --- code/datums/components/overlay_lighting.dm | 2 +- code/game/atoms_movable.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/components/overlay_lighting.dm b/code/datums/components/overlay_lighting.dm index 54da82a7312..046835ea049 100644 --- a/code/datums/components/overlay_lighting.dm +++ b/code/datums/components/overlay_lighting.dm @@ -250,8 +250,8 @@ if(directional) RegisterSignal(new_holder, COMSIG_ATOM_DIR_CHANGE, .proc/on_holder_dir_change) if(overlay_lighting_flags & LIGHTING_ON) - make_luminosity_update() add_dynamic_lumi() + make_luminosity_update() ///Used to determine the new valid current_holder from the parent's loc. diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm index 8b99297718f..f709232afe9 100644 --- a/code/game/atoms_movable.dm +++ b/code/game/atoms_movable.dm @@ -1024,7 +1024,7 @@ // Scale the icon. I.transform *= 0.4 // The icon should not rotate. - I.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA + I.appearance_flags = APPEARANCE_UI // Set the direction of the icon animation. var/direction = get_dir(src, A)