mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 05:29:13 -06:00
NetPlay: Introduce constant for peer timeout
This commit is contained in:
@ -417,7 +417,7 @@ ConnectionError NetPlayServer::OnConnect(ENetPeer* socket, sf::Packet& rpac)
|
||||
return ConnectionError::NameTooLong;
|
||||
|
||||
// Extend reliable traffic timeout
|
||||
enet_peer_timeout(socket, 0, 30000, 30000);
|
||||
enet_peer_timeout(socket, 0, PEER_TIMEOUT, PEER_TIMEOUT);
|
||||
|
||||
// cause pings to be updated
|
||||
m_update_pings = true;
|
||||
|
Reference in New Issue
Block a user