Remove toggle lights

This commit is contained in:
in0finite 2019-05-23 01:24:53 +02:00
parent 6ba73af243
commit 233bb3c472

View file

@ -407,15 +407,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
if (HasDriverSeat)
{
if (Input.GetKeyDown(KeyCode.L))
{
m_frontLeftLightPowered = !m_frontLeftLight;
m_frontRightLightPowered = !m_frontRightLightPowered;
SetLight(VehicleLight.FrontLeft, m_frontLeftLightPowered ? VehicleAPI.frontLightIntensity : 0);
SetLight(VehicleLight.FrontRight, m_frontRightLightPowered ? VehicleAPI.frontLightIntensity : 0);
}
if (Braking > 0.125f)
SetLight(VehicleLight.Rear, 1f);
else