[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 <coul422@gmail.com>
This commit is contained in:
SkyratBot
2021-08-15 22:51:14 +01:00
committed by GitHub
co-authored by Couls
parent 29397dbfdb
commit bf3af56598
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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)