mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
small fix
This commit is contained in:
parent
616dd29df1
commit
092b1e0d6c
@ -208,7 +208,7 @@ impl PrioManager {
|
||||
frames: &mut E,
|
||||
) -> bool {
|
||||
let to_send = std::cmp::min(
|
||||
msg.buffer.data.len() as u64 - msg.cursor,
|
||||
msg.buffer.data[msg.cursor as usize..].len() as u64,
|
||||
Self::FRAME_DATA_SIZE,
|
||||
);
|
||||
if to_send > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user