feat(globals): save keep_vehicle_repaired to disk (#500)

This commit is contained in:
Yimura 2022-10-21 23:54:48 +02:00 committed by GitHub
parent a66d58d07e
commit eecef14722

View File

@ -595,6 +595,7 @@ namespace big
this->vehicle.drive_on_water = j["vehicle"]["drive_on_water"];
this->vehicle.horn_boost = j["vehicle"]["horn_boost"];
this->vehicle.vehicle_jump = j["vehicle"]["vehicle_jump"];
this->vehicle.keep_vehicle_repaired = j["vehicle"]["keep_vehicle_repaired"];
this->vehicle.instant_brake = j["vehicle"]["instant_brake"];
this->vehicle.is_targetable = j["vehicle"]["is_targetable"];
this->vehicle.seatbelt = j["vehicle"]["seatbelt"];
@ -883,6 +884,7 @@ namespace big
{ "drive_on_water", this->vehicle.drive_on_water },
{ "horn_boost", this->vehicle.horn_boost },
{ "vehicle_jump", this->vehicle.vehicle_jump },
{ "keep_vehicle_repaired", this->vehicle.keep_vehicle_repaired },
{ "instant_brake", this->vehicle.instant_brake },
{ "is_targetable", this->vehicle.is_targetable },
{ "turn_signals", this->vehicle.turn_signals },