Minor lighting performance tweaks (#3298)

changes:

Sunlight prebake now happens during MC Initialize instead of in the lobby.
Openturf no longer ticks in the lobby.
Openturf has been promoted to a normal SS, from SS_BACKGROUND.
Lighting no longer ticks in the lobby.
Inlined directional lighting's coordinate filter.
Directional lighting wedge caching now properly works with face-direction.
This commit is contained in:
Lohikar
2017-08-20 14:08:25 +03:00
committed by Erki
parent 1532c692aa
commit 9dd650b7a9
5 changed files with 26 additions and 44 deletions
-1
View File
@@ -5,7 +5,6 @@ var/datum/controller/subsystem/lighting/SSlighting
/datum/controller/subsystem/lighting
name = "Lighting"
wait = LIGHTING_INTERVAL
flags = SS_FIRE_IN_LOBBY
priority = SS_PRIORITY_LIGHTING
init_order = SS_INIT_LIGHTING
-1
View File
@@ -8,7 +8,6 @@
/datum/controller/subsystem/openturf
name = "Open Space"
flags = SS_BACKGROUND | SS_FIRE_IN_LOBBY
wait = 1
init_order = SS_INIT_OPENTURF
priority = SS_PRIORITY_OPENTURF