Fix(es_extended): ammo saves when its more than previous

This commit is contained in:
Mycroft
2022-04-02 21:26:28 +01:00
committed by GitHub
parent 96cd8c074d
commit a3bccaa6d1
+1 -3
View File
@@ -445,9 +445,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