mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
Fixes directional light overlay leaking the lighting mask and not updating direction correctly (#70578)
Fixes light direction/overlays when changing holder of light overlay
This commit is contained in:
@@ -251,7 +251,8 @@
|
||||
RegisterSignal(new_holder, COMSIG_MOVABLE_MOVED, .proc/on_holder_moved)
|
||||
if(directional)
|
||||
RegisterSignal(new_holder, COMSIG_ATOM_DIR_CHANGE, .proc/on_holder_dir_change)
|
||||
set_direction(new_holder.dir)
|
||||
if(directional && current_direction != new_holder.dir)
|
||||
current_direction = new_holder.dir
|
||||
if(overlay_lighting_flags & LIGHTING_ON)
|
||||
add_dynamic_lumi()
|
||||
make_luminosity_update()
|
||||
|
||||
Reference in New Issue
Block a user