fix parsing
This commit is contained in:
parent
2215691125
commit
f56d25e76d
@ -387,7 +387,7 @@ func (p *PacketServerCompanyInfo) Read(b []byte) {
|
||||
p.Name, _ = r.ReadString(0)
|
||||
p.Name = p.Name[:len(p.Name)-1]
|
||||
p.President, _ = r.ReadString(0)
|
||||
p.President = p.Name[:len(p.Name)-1]
|
||||
p.President = p.President[:len(p.President)-1]
|
||||
c, _ = r.ReadByte()
|
||||
p.Color = uint8(c)
|
||||
c, _ = r.ReadByte()
|
||||
@ -417,7 +417,7 @@ func (p *PacketServerCompanyUpdate) Read(b []byte) {
|
||||
p.Name, _ = r.ReadString(0)
|
||||
p.Name = p.Name[:len(p.Name)-1]
|
||||
p.President, _ = r.ReadString(0)
|
||||
p.President = p.Name[:len(p.Name)-1]
|
||||
p.President = p.President[:len(p.President)-1]
|
||||
c, _ = r.ReadByte()
|
||||
p.Color = uint8(c)
|
||||
c, _ = r.ReadByte()
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "40df5ba"
|
||||
var buildstamp = "2021-11-07_12:10:24"
|
||||
var commits = "165"
|
||||
var version = "40df5ba-b165 - 2021-11-07_12:10:24"
|
||||
var githash = "2215691"
|
||||
var buildstamp = "2021-11-07_12:27:18"
|
||||
var commits = "166"
|
||||
var version = "2215691-b166 - 2021-11-07_12:27:18"
|
||||
|
Loading…
Reference in New Issue
Block a user