forked from Mirrorlandia_minetest/minetest
Fix bug setting channel window size.
This commit is contained in:
parent
93c0b3b8fb
commit
8d629cf65b
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user