Update lighting.dm (#44164)

This commit is contained in:
nemvar
2019-05-30 10:48:10 +02:00
committed by AnturK
parent f8423cf0a7
commit cfbd9d77b5
+2 -1
View File
@@ -353,7 +353,8 @@
else if (nightshift_enabled)
BR = nightshift_brightness
PO = nightshift_light_power
CO = nightshift_light_color
if(!color)
CO = nightshift_light_color
var/matching = light && BR == light.light_range && PO == light.light_power && CO == light.light_color
if(!matching)
switchcount++