Merge pull request #544 from iSentrie/patch-1

fix(es_extended): ammo saving
This commit is contained in:
Mycroft
2022-10-10 22:23:35 +01:00
committed by GitHub
+1 -3
View File
@@ -407,9 +407,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
local loadoutNum, weapon = self.getWeapon(weaponName)
if weapon then
if ammoCount < weapon.ammo then
weapon.ammo = ammoCount
end
weapon.ammo = ammoCount
end
end