Removed unused variable

This commit is contained in:
rex2630
2019-11-12 21:36:12 +01:00
committed by GitHub
parent 549c28ff61
commit 3eb220ad5a
-1
View File
@@ -31,7 +31,6 @@ RegisterServerEvent('esx_shops:buyItem')
AddEventHandler('esx_shops:buyItem', function(itemName, amount, zone)
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
local sourceItem = xPlayer.getInventoryItem(itemName)
amount = ESX.Math.Round(amount)