Merge pull request #460 from Citadel-Station-13/upstream-merge-26323

[MIRROR] Speeds up lighting initialization
This commit is contained in:
LetterJay
2017-04-18 20:23:41 -05:00
committed by GitHub
5 changed files with 21 additions and 22 deletions
+2
View File
@@ -116,6 +116,8 @@ GLOBAL_LIST_EMPTY(teleportlocs)
luminosity = 0
else if(dynamic_lighting != DYNAMIC_LIGHTING_IFSTARLIGHT)
dynamic_lighting = DYNAMIC_LIGHTING_DISABLED
if(dynamic_lighting == DYNAMIC_LIGHTING_IFSTARLIGHT)
dynamic_lighting = config.starlight ? DYNAMIC_LIGHTING_ENABLED : DYNAMIC_LIGHTING_DISABLED
..()