mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-12-01 21:44:48 +00:00
fix(progress): client statebag change handler double creating the props (#60)
This commit is contained in:
1 parent
855e1e4a36
commit
220c0c91ec
1 file changed
+1
-1
@@ -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