Merge pull request #1469 from ArchieBeepBoop/lithiumaurora

Aurora hotfix
This commit is contained in:
Dahlular
2021-10-30 00:38:06 -06:00
committed by GitHub
@@ -105,12 +105,12 @@
/datum/weather/lithium_aurora/proc/tick()
activeFor++
if(activeFor % 5 == 0)
aurora_progress++
if(aurora_progress > LAZYLEN(aurora_colors))
aurora_progress = 1
var/aurora_color = aurora_colors[aurora_progress]
for(var/turf/S in applicable_areas)
S.set_light(l_color = aurora_color)
if(!ended)
if(activeFor % 5 == 0)
aurora_progress++
if(aurora_progress > LAZYLEN(aurora_colors))
aurora_progress = 1
var/aurora_color = aurora_colors[aurora_progress]
for(var/turf/S in applicable_areas)
S.set_light(l_color = aurora_color)
addtimer(CALLBACK(src, .proc/tick), 10)