From ec660c368c99775af18abe3f24d2dbe3951fc89c Mon Sep 17 00:00:00 2001 From: in0finite Date: Sat, 13 Feb 2021 22:22:03 +0100 Subject: [PATCH] set vehicle lights' intensity to 0 by default --- Assets/Scripts/Behaviours/Vehicles/Vehicle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Behaviours/Vehicles/Vehicle.cs b/Assets/Scripts/Behaviours/Vehicles/Vehicle.cs index ef4d7d16..1d3ee37f 100644 --- a/Assets/Scripts/Behaviours/Vehicles/Vehicle.cs +++ b/Assets/Scripts/Behaviours/Vehicles/Vehicle.cs @@ -139,7 +139,7 @@ namespace SanAndreasUnity.Behaviours.Vehicles private readonly int[] _colors = { 0, 0, 0, 0 }; public int[] Colors => _colors; - private readonly float[] _lights = { 1f, 1f, 1f, 1f }; + private readonly float[] _lights = { 0, 0, 0, 0 }; private MaterialPropertyBlock _props; private bool _colorsChanged, _isNightToggled;