Fixed bug with persist_car_service not saving the tire smoke color. (Closes #2239) (#2261)

This commit is contained in:
gir489 2023-10-12 18:13:15 -04:00 committed by GitHub
parent 81db20d2c8
commit 6137d4cefc

View File

@ -492,10 +492,7 @@ namespace big
VEHICLE::GET_VEHICLE_TYRE_SMOKE_COLOR(vehicle, &tire_smoke_color[0], &tire_smoke_color[1], &tire_smoke_color[2]);
vehicle_json[tire_smoke_color_key] = tire_smoke_color;
}
else
{
vehicle_json[mod_names[i]] = "TOGGLE";
}
vehicle_json[mod_names[i]] = "TOGGLE";
}
if (VEHICLE::GET_VEHICLE_MOD(vehicle, i) != -1)