Skip to content

Commit

Permalink
refactor(client): more specific info when player inventory is not loaded
Browse files Browse the repository at this point in the history
People keep attributing this to the target inventory not being
loaded, e.g. stash is not registered.
  • Loading branch information
thelindat committed May 25, 2024
1 parent cb8050a commit 82ff412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ plyState:set('canUseWeapons', false, false)

local function canOpenInventory()
if not PlayerData.loaded then
return shared.info('cannot open inventory', '(is not loaded)')
return shared.info('cannot open inventory', '(player inventory has not loaded)')
end

if IsPauseMenuActive() then return end
Expand Down

0 comments on commit 82ff412

Please sign in to comment.