Skip to content

Commit

Permalink
Fixed bug on saving and removing veh config
Browse files Browse the repository at this point in the history
  • Loading branch information
my-name-is-samael committed Oct 22, 2024
1 parent 69557c1 commit 73055c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ local function onLoad()
M.baseFunctions.removeConfigBaseFunction = extensions.core_vehicle_partmgmt.removeLocal

extensions.core_vehicle_partmgmt.saveLocal = function(fileName)
M._saveConfigBaseFunction(fileName)
M.baseFunctions.saveConfigBaseFunction(fileName)
BJIAsync.delayTask(function()
M.getAllVehicleConfigs(false, false, true)
end, 3000, "BJIVehPostSaveConfig")
end
extensions.core_vehicle_partmgmt.removeLocal = function(fileName)
M._removeConfigBaseFunction(fileName)
M.baseFunctions.removeConfigBaseFunction(fileName)
BJIAsync.delayTask(function()
M.getAllVehicleConfigs(false, false, true)
end, 1000, "BJIVehPostRemoveConfig")
Expand Down

0 comments on commit 73055c0

Please sign in to comment.