mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MIRROR] improve performance of vis_overlays by handling dir by using vis_flags (#955)
* improve performance of vis_overlays by handling dir by using vis_flags (#53816) vis dir changes are now handled by vis_flags * improve performance of vis_overlays by handling dir by using vis_flags Co-authored-by: Couls <coul422@gmail.com>
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
/obj/effect/overlay/vis
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
anchored = TRUE
|
||||
vis_flags = NONE
|
||||
vis_flags = VIS_INHERIT_DIR
|
||||
///When detected to be unused it gets set to world.time, after a while it gets removed
|
||||
var/unused = 0
|
||||
///overlays which go unused for this amount of time get cleaned up
|
||||
|
||||
Reference in New Issue
Block a user