Core/Warden: Attempt to fix random ingame Lua errors with Warden enabled

(cherry picked from commit cd1858b040)
This commit is contained in:
Giacomo Pozzoni
2020-09-13 21:56:47 +02:00
committed by Shauren
parent f9b94ad9e9
commit 6734a70aa8

View File

@@ -253,7 +253,7 @@ void WardenWin::RequestChecks()
[&expectedSize](uint16 id)
{
uint8 const thisSize = GetCheckPacketSize(sWardenCheckMgr->GetCheckData(id));
if ((expectedSize + thisSize) > 512) // warden packets are truncated to 512 bytes clientside
if ((expectedSize + thisSize) > 500) // warden packets are truncated to 512 bytes clientside
return true;
expectedSize += thisSize;
return false;