Skip to content

Commit

Permalink
fix: wrong player var for openInventory
Browse files Browse the repository at this point in the history
  • Loading branch information
m3ftwz committed Feb 24, 2022
1 parent 45ff24b commit ce9acf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [esx_addons]/esx_policejob/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ end

function OpenBodySearchMenu(player)
if Config.OxInventory then
exports.ox_inventory:openInventory('player', GetPlayerServerId(closestPlayer))
exports.ox_inventory:openInventory('player', GetPlayerServerId(player))
return ESX.UI.Menu.CloseAll()
end

Expand Down

0 comments on commit ce9acf2

Please sign in to comment.