Preventing spamming of join packets when the ping is high

This commit is contained in:
MysterD 2023-04-04 00:34:54 -07:00
parent 1677b73c07
commit 6f7d783602
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ static float adjust_max_elapsed(enum PacketType packetType, float maxElapsed) {
case PACKET_MOD_LIST_ENTRY:
case PACKET_MOD_LIST_FILE:
case PACKET_MOD_LIST_DONE:
return MIN(0.2f + maxElapsed * 2.0f, 5);
return MIN(0.5f + maxElapsed * 2.0f, 5);
default:
return MIN(maxElapsed, 5);
}