Fixed loadout flaw when confiscated while dead

This commit is contained in:
Viktor
2019-08-04 16:47:33 +02:00
committed by GitHub
parent 06d3ee286f
commit 2e39e3d01a
-4
View File
@@ -406,10 +406,6 @@ Citizen.CreateThread(function()
local loadout = {}
local loadoutChanged = false
if IsPedDeadOrDying(playerPed) then
isLoadoutLoaded = false
end
for k,v in ipairs(Config.Weapons) do
local weaponName = v.name
local weaponHash = GetHashKey(weaponName)