Change back to compound operators

This commit is contained in:
TheiLLeniumStudios
2022-05-06 13:56:21 +00:00
parent be61c39319
commit fe9dae0543
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -577,7 +577,7 @@ function QBCore.Player.GetTotalWeight(items)
local weight = 0
if not items then return 0 end
for _, item in pairs(items) do
weight = weight + item.weight * item.amount
weight += item.weight * item.amount
end
return tonumber(weight)
end