Skip to content

Commit

Permalink
when the end
Browse files Browse the repository at this point in the history
  • Loading branch information
nothendev committed Oct 8, 2023
1 parent b0ad104 commit b7b2b89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion protocol/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ impl PlayerNet {
sp
} else {
trace!("[recv]not compressing");
SerializedPacket::deserialize.parse(buf.as_ref())?
SerializedPacket::deserialize
.then_ignore(aott::prelude::end)
.parse(buf.as_ref())?
};
trace!(buf=%format!("{:#x?}", &buf[..read_bytes]), ?spack, "recving packet");
s_recv.send_async(spack).await?;
Expand Down

0 comments on commit b7b2b89

Please sign in to comment.