Enabling retransmission debug output on 3 player sessions

This commit is contained in:
Rodrigo Alfonso 2023-02-10 08:40:17 -03:00
parent a39b39ebfe
commit dad02e1143

View File

@ -314,8 +314,8 @@ void messageLoop() {
// Debug output
output += "\n_buffer: " + std::to_string(linkWireless->getPendingCount());
if (retransmission && !packetLossCheck &&
linkWireless->playerCount() == 2) {
if (retransmission && !packetLossCheck && linkWireless->playerCount() > 2 &&
linkWireless->playerCount() < 4) {
output +=
"\n_lastPkgId: " + std::to_string(linkWireless->_lastPacketId());
output += "\n_nextPndngPkgId: " +