Skip to content

Commit

Permalink
Fix bug setting channel window size.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhofhansl committed Jul 13, 2018
1 parent 93c0b3b commit 8d629cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/connection.cpp
Expand Up @@ -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"));
}
}

Expand Down

0 comments on commit 8d629cf

Please sign in to comment.