mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
refactor: add an omission
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user