mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Preventing spamming of join packets when the ping is high
This commit is contained in:
parent
1677b73c07
commit
6f7d783602
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue