Skip to content

Commit

Permalink
Merge pull request #103 from Hazzer278/patch-1
Browse files Browse the repository at this point in the history
Update main.lua (Fixed Event Naming for Selling Corals)
  • Loading branch information
GhzGarage authored Jan 8, 2025
2 parents a050c09 + 869b14e commit c1cd9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ local function sellCoral()
TaskStartScenarioInPlace(playerPed, "WORLD_HUMAN_STAND_IMPATIENT", 0, true)
QBCore.Functions.Progressbar("sell_coral_items", Lang:t("info.checking_pockets"), math.random(2000, 4000), false, true, {}, {}, {}, {}, function() -- Done
ClearPedTasks(playerPed)
TriggerServerEvent('qb-diving:server:SellCoral')
TriggerServerEvent('qb-diving:server:SellCorals')
LocalPlayer.state:set("inv_busy", false, true)
end, function() -- Cancel
ClearPedTasksImmediately(playerPed)
Expand Down

0 comments on commit c1cd9c8

Please sign in to comment.