mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 00:15:08 +01:00
Update Erupe/server/signserver/dsgn_resp.go
Co-authored-by: Yslan Ramos <yslanramos.r@gmail.com>
This commit is contained in:
@@ -83,6 +83,7 @@ func (s *Session) makeSignInResp(uid int) []byte {
|
|||||||
t := japanese.ShiftJIS.NewEncoder()
|
t := japanese.ShiftJIS.NewEncoder()
|
||||||
str_name, _, err := transform.String(t, char.Name)
|
str_name, _, err := transform.String(t, char.Name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
str_name = char.Name
|
||||||
}
|
}
|
||||||
|
|
||||||
bf.WriteUint16(char.WeaponType) // Weapon, 0-13.
|
bf.WriteUint16(char.WeaponType) // Weapon, 0-13.
|
||||||
|
|||||||
Reference in New Issue
Block a user