mirror of
https://github.com/CapsAdmin/wowozela.git
synced 2025-03-04 03:13:27 -05:00
Fix wowozela on larger servers
This commit is contained in:
parent
964f044db0
commit
ea3773efd5
@ -82,7 +82,7 @@ if CLIENT then
|
||||
end
|
||||
|
||||
if not net.ReadBool() then
|
||||
local updatedPly = 4500 + net.ReadUInt(6) * 15
|
||||
local updatedPly = 4500 + net.ReadUInt(10) * 15
|
||||
for _, ply in ipairs(player.GetAll()) do
|
||||
for i = updatedPly, updatedPly + 11 do
|
||||
local v = wowozela.KnownSamples[i]
|
||||
@ -216,7 +216,7 @@ if SERVER then
|
||||
net.Start("wowozela_update_samples")
|
||||
net.WriteTable(newSamples)
|
||||
net.WriteBool(false)
|
||||
net.WriteUInt(ply:EntIndex(), 6)
|
||||
net.WriteUInt(ply:EntIndex(), 10)
|
||||
net.Broadcast()
|
||||
end)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user