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

(cherry picked from commit cd1858b04010fe790f9db45f629a8e81e367b7a4)
This commit is contained in:
Giacomo Pozzoni
2022-02-06 00:18:17 +01:00
committed by Shauren
parent f9b94ad9e9
commit 6734a70aa8
+1 -1
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;