Fix packets sent

This commit is contained in:
Remi Boure 2023-03-28 09:43:31 +02:00
parent 9914fd4e82
commit e627cf7397

View File

@ -24,9 +24,9 @@ public abstract class Scheduler {
}else { }else {
p.setDurationSending(ticks); p.setDurationSending(ticks);
} }
}
userMax.getPacketsSent().add(p); userMax.getPacketsSent().add(p);
userMax.getPacketsToSend().remove(p); userMax.getPacketsToSend().remove(p);
}
frame[ts][sp].setUser(userMax); frame[ts][sp].setUser(userMax);
frame[ts][sp].setBandwidth(userMax.getBandwidthTable()[ts][sp]); frame[ts][sp].setBandwidth(userMax.getBandwidthTable()[ts][sp]);
} }