refactor: add an omission

This commit is contained in:
MoskalykA
2023-06-27 23:41:58 +02:00
parent 59325fab92
commit e9cf0b69e0
+1 -1
View File
@@ -439,7 +439,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
local loadoutNum, weapon = self.getWeapon(weaponName)
if weapon then
local weaponNum, weaponObject = ESX.GetWeapon(weaponName)
local _, weaponObject = ESX.GetWeapon(weaponName)
if weaponObject.tints and weaponObject.tints[weaponTintIndex] then
self.loadout[loadoutNum].tintIndex = weaponTintIndex