mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix bug setting channel window size.
This commit is contained in:
@@ -921,7 +921,7 @@ void UDPPeer::setNonLegacyPeer()
|
||||
m_legacy_peer = false;
|
||||
for(unsigned int i=0; i< CHANNEL_COUNT; i++)
|
||||
{
|
||||
channels->setWindowSize(g_settings->getU16("max_packets_per_iteration"));
|
||||
channels[i].setWindowSize(g_settings->getU16("max_packets_per_iteration"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user