Skip to content

Commit adac2c5

Browse files
authored
Merge pull request #6 from datashit/develop
fix(1): 1
2 parents 45aabc1 + 1cf18f5 commit adac2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playernetwork.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func (p *PlayerNetwork) ack(last uint16, bitmap uint32, now time.Time) {
126126
func (p *PlayerNetwork) generateSendPacket(protocol uint16, datatype uint8, data []byte) *PacketUDP {
127127
sequence := p.incrSeq()
128128

129-
pkt := PacketUDP{Session: session, Sequence: sequence, Protocol: protocol, DataType: datatype, Data: data, DataSize: uint16(len(data))}
129+
pkt := PacketUDP{Session: p.session, Sequence: sequence, Protocol: protocol, DataType: datatype, Data: data, DataSize: uint16(len(data))}
130130
pkt.Ack = p.RemoteSequence()
131131

132132
pkt.AckBitfield = uint32(p.remoteAckBitfield)

0 commit comments

Comments
 (0)