Skip to content

Commit

Permalink
Fix for inventory NUI being stuck on screen (#423)
Browse files Browse the repository at this point in the history
* Update main.lua
* Update fxmanifest.lua

---------

Co-authored-by: zwkf <[email protected]>
  • Loading branch information
GodyFromDiscord and S33G authored Feb 22, 2023
1 parent c898d06 commit 099980d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fx_version 'cerulean'
game 'gta5'

description 'QB-Inventory'
version '1.2.2'
version '1.2.3'

shared_scripts {
'@qb-core/shared/locale.lua',
Expand Down
1 change: 1 addition & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1634,6 +1634,7 @@ RegisterNetEvent('inventory:server:OpenInventory', function(name, id, other)
end
end
TriggerClientEvent("qb-inventory:client:closeinv", id)
Wait(0)
TriggerClientEvent("inventory:client:OpenInventory", src, {}, Player.PlayerData.items, secondInv)
else
TriggerClientEvent("inventory:client:OpenInventory", src, {}, Player.PlayerData.items)
Expand Down

0 comments on commit 099980d

Please sign in to comment.