Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ RegisterNetEvent('qbr-weapons:client:AddAmmo', function(atype, amount, itemData)
}, {}, {}, {}, function() -- Done
local weaponData = Weapons[weapon]
if weaponData then
if weaponData.info?.quality <= 0 then
if weaponData.info?.quality and weaponData.info.quality <= 0 then
return exports['qbr-core']:Notify(9, 'Cannot Reload Broken Weapon', 5000, 0, 'mp_lobby_textures', 'cross', 'COLOR_WHITE')
end
if atype == 'AMMO_ARROW' then
Expand Down
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game 'rdr3'
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'

description 'QBR-Weapons'
version '1.0.2'
version '1.0.3'

shared_scripts {
'@qbr-core/shared/locale.lua',
Expand Down