Skip to content

Commit

Permalink
fix(extra): fix vehicle extra not toggling
Browse files Browse the repository at this point in the history
  • Loading branch information
Frowmza committed May 10, 2024
1 parent 9f479ff commit 665feb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/decals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,9 @@ return {
menuId = 'decals',
custom = true,
onToggle = function(vehicle, index, toggle)
SetVehicleAutoRepairDisabled(vehicle, false)
SetVehicleExtra(vehicle, index, not toggle)
SetVehicleAutoRepairDisabled(vehicle, true)
end,
canInteract = function(vehicle)
for extra = 0, 20 do
Expand Down

0 comments on commit 665feb5

Please sign in to comment.