[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:
SkyratBot
2020-09-24 20:25:55 +02:00
committed by GitHub
co-authored by Couls
parent 6f43f15668
commit 9d75b2b6ee
2 changed files with 1 additions and 19 deletions
+1 -1
View File
@@ -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