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

This commit is contained in:
Giacomo Pozzoni
2020-09-13 21:56:47 +02:00
committed by GitHub
parent 7f4bf293f3
commit cd1858b040

View File

@@ -252,7 +252,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;