Merge pull request #680 from atarevals/patch-1

fix GetPlayerProperties
This commit is contained in:
JackDUpModZ
2022-11-20 22:06:52 +00:00
committed by GitHub
+2 -2
View File
@@ -1162,7 +1162,7 @@ end)
exports("GetPlayerProperties", function(identifier)
local PlayerProperties = {}
for i=1, #Properties do
if Properties[i].Owned and Properties[i].owner == identifier then
if Properties[i].Owned and Properties[i].Owner == identifier then
PlayerProperties[#PlayerProperties + 1] = Properties[i]
end
end
@@ -1188,4 +1188,4 @@ end)
exports("ForceSaveProperties", function()
local ExecutingResource = GetInvokingResource()
PropertySave(TranslateCap("forced_save", ExecutingResource))
end)
end)