mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix bug setting channel window size.
This commit is contained in:
@@ -921,7 +921,7 @@ void UDPPeer::setNonLegacyPeer()
|
|||||||
m_legacy_peer = false;
|
m_legacy_peer = false;
|
||||||
for(unsigned int i=0; i< CHANNEL_COUNT; i++)
|
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