mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[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:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user