This commit is contained in:
xavo95 2025-05-16 08:31:16 +07:00
parent a668079894
commit 607a9c8b8a
Signed by: xavo95
GPG key ID: CBF8ADED6DEBB783

View file

@ -1532,7 +1532,9 @@ impl<Output: AsyncWrite + Unpin + Send> Kcp<Output> {
Some(mut new_segment) => {
new_segment.conv = self.conv;
#[cfg(feature = "hoyo-token")]
new_segment.token = self.token;
{
new_segment.token = self.token;
}
new_segment.cmd = KCP_CMD_PUSH;
new_segment.wnd = segment.wnd;
new_segment.ts = self.current;