We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9615523 commit 5cdc04dCopy full SHA for 5cdc04d
Client/mods/deathmatch/logic/CClientIMGManager.cpp
@@ -129,7 +129,8 @@ void CClientIMGManager::UpdateStreamerBufferSize()
129
m_LargestFileSizeBlocks = CalculateLargestFile();
130
131
// Only update if necessary, otherwise leave it be [User might've set it manually - we don't want to touch that]
132
- if (const auto s = g_pGame->GetStreaming(); m_LargestFileSizeBlocks > s->GetStreamingBufferSize()) {
+ if (const auto s = g_pGame->GetStreaming(); m_LargestFileSizeBlocks * 2048 > s->GetStreamingBufferSize())
133
+ {
134
s->SetStreamingBufferSize(m_LargestFileSizeBlocks);
135
}
136
0 commit comments