Skip to content

Commit

Permalink
fix: no progressbar is active issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jul 24, 2024
1 parent 7ec5786 commit cc69e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server-data/resources/[ox]/ox_fuel/client/fuel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function fuel.startFueling(vehicle, isPump)
if isPump then
price += config.priceTick

if price + config.priceTick >= moneyAmount then
if price + config.priceTick >= moneyAmount and lib.progressActive() then
lib.cancelProgress()
end
elseif state.petrolCan then
Expand Down

0 comments on commit cc69e50

Please sign in to comment.