map language to server instead of session

This commit is contained in:
wish
2022-11-09 23:50:40 +11:00
parent 7789424a08
commit 10b2ddcfd7
7 changed files with 9 additions and 19 deletions

View File

@@ -142,7 +142,6 @@ func handleMsgSysLogin(s *Session, p mhfpacket.MHFPacket) {
s.token = pkt.LoginTokenString
s.Unlock()
s.dict = getLangStrings(s)
updateRights(s)
bf := byteframe.NewByteFrame()
bf.WriteUint32(uint32(Time_Current_Adjusted().Unix())) // Unix timestamp