fix bug
This commit is contained in:
parent
a668079894
commit
607a9c8b8a
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue