mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix(progress): client statebag change handler double creating the props (#60)
This commit is contained in:
@@ -266,7 +266,7 @@ AddStateBagChangeHandler('lib:progressProps', nil, function(bagName, key, value,
|
||||
local prop = createProp(ped, value)
|
||||
|
||||
if prop then
|
||||
playerProps[#playerProps + 1] = createProp(ped, value)
|
||||
playerProps[#playerProps + 1] = prop
|
||||
end
|
||||
else
|
||||
local propCount = math.min(maxProps, #value)
|
||||
|
||||
Reference in New Issue
Block a user