5 Years Ago
Use LightsAreOn accessor instead of checking flag directly Switch headlights/brakelights logic to a mask instead of a bool to reduce extra iterations