increase limit to item sync from 100 to 256

This commit is contained in:
bgkillas 2024-09-22 14:31:35 -04:00
parent 3575ccc658
commit 107c55f83e

View file

@ -351,7 +351,7 @@ function rpc.item_localize_req(gid)
end end
function rpc.update_positions(position_data) function rpc.update_positions(position_data)
local LIMIT = 100 local LIMIT = 256
local cx, cy = GameGetCameraPos() local cx, cy = GameGetCameraPos()
for gid, el in pairs(position_data) do for gid, el in pairs(position_data) do
local x, y = el[1], el[2] local x, y = el[1], el[2]