From 8112990ede03f975b0f3e0f1627eb35e931ad122 Mon Sep 17 00:00:00 2001 From: gir489 <100792176+gir489returns@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:13:15 -0400 Subject: [PATCH] Fixed bug with persist_car_service not saving the tire smoke color. (Closes #2239) (#2261) --- src/services/vehicle/persist_car_service.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/services/vehicle/persist_car_service.cpp b/src/services/vehicle/persist_car_service.cpp index 083fbaf0..38a741bc 100644 --- a/src/services/vehicle/persist_car_service.cpp +++ b/src/services/vehicle/persist_car_service.cpp @@ -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)