mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-03-21 17:44:58 -05:00
Common: Fix parsing for RESV_WAIT and RESV_CANCEL
This commit is contained in:
parent
a8233224a0
commit
e5bf274991
|
|
@ -415,13 +415,19 @@ func DecodeMatchCommand(command byte, buffer []byte, version int) (MatchCommandD
|
|||
if len(buffer) != 0x00 {
|
||||
break
|
||||
}
|
||||
return MatchCommandData{}, true
|
||||
return MatchCommandData{
|
||||
Version: version,
|
||||
Command: command,
|
||||
}, true
|
||||
|
||||
case MatchResvCancel:
|
||||
if len(buffer) != 0x00 {
|
||||
break
|
||||
}
|
||||
return MatchCommandData{}, true
|
||||
return MatchCommandData{
|
||||
Version: version,
|
||||
Command: command,
|
||||
}, true
|
||||
|
||||
case MatchTellAddr:
|
||||
if len(buffer) != 0x08 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user