This commit is contained in:
in0finite 2021-06-26 00:58:43 +02:00
parent 28316f720a
commit b3eb724469

View file

@ -367,6 +367,8 @@ namespace SanAndreasUnity.Behaviours.World
m_hasTrafficLights = m_redTrafficLights != null || m_yellowTrafficLights != null || m_greenTrafficLights != null;
this.UpdateLightsBasedOnDayTime();
this.InvokeRepeating(nameof(this.UpdateLights), 0f, 0.2f);
}