fix tuning menu close

This commit is contained in:
hydrant
2019-05-13 20:39:58 +02:00
parent fb9c8f76ef
commit 6e05e2801e

View File

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