You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (a && a.dynamic_lighting && areacheck && (!map ||!map.zlevels_without_lighting.Find(T.z)))
T.adjust_lighting_overlay_to_daylight()
Does the first segment of this code have any purpose at all? It seems to be just taking up time iterating through turfs and could be removed in favor of this simplified codes nippet.
if (a && a.dynamic_lighting && (!map || !map.zlevels_without_lighting.Find(T.z)))
T.adjust_lighting_overlay_to_daylight()
The text was updated successfully, but these errors were encountered:
Civ13/code/processes/time_of_day_change.dm
Lines 42 to 50 in 014676b
Does the first segment of this code have any purpose at all? It seems to be just taking up time iterating through turfs and could be removed in favor of this simplified codes nippet.
The text was updated successfully, but these errors were encountered: