From ea3773efd550d7e5df43e77980daebe15f29b0cf Mon Sep 17 00:00:00 2001 From: Xerasin Date: Mon, 15 Nov 2021 11:43:06 -0800 Subject: [PATCH] Fix wowozela on larger servers --- lua/autorun/wowozela.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/autorun/wowozela.lua b/lua/autorun/wowozela.lua index 63f19c6..50d00b3 100644 --- a/lua/autorun/wowozela.lua +++ b/lua/autorun/wowozela.lua @@ -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)