mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 20:13:02 +00:00
fix
This commit is contained in:
parent
28316f720a
commit
b3eb724469
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue