fix tuning headlight color

This commit is contained in:
hydrant
2019-05-13 21:08:23 +02:00
parent 6e05e2801e
commit c7922a1131

View File

@@ -255,7 +255,7 @@ export default function tuning(globalData: GlobalData) {
if (modType === 18) return;
if (modType === 22) {
localVehicle.setLights(1);
setHeadlightsColor(localVehicle, currentMod[22]);
setHeadlightsColor(localVehicle, currentMod[22] + 1);
return;
}
localVehicle.setMod(modType, currentMod[modType]);