test
This commit is contained in:
parent
8cde937058
commit
1129e561b3
@ -93,7 +93,7 @@ func (p *PacketAdminJoin) Bytes() []byte {
|
|||||||
return buf.Bytes()
|
return buf.Bytes()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *AdminPacketServerWelcome) Read(b []byte) {
|
func (p *PacketAdminServerWelcome) Read(b []byte) {
|
||||||
r := bufio.NewReader(bytes.NewReader(b))
|
r := bufio.NewReader(bytes.NewReader(b))
|
||||||
p.ServerName, _ = r.ReadString(0)
|
p.ServerName, _ = r.ReadString(0)
|
||||||
p.OpenTTDVersion, _ = r.ReadString(0)
|
p.OpenTTDVersion, _ = r.ReadString(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user