initial time fix

This commit is contained in:
wish
2023-03-04 21:43:10 +11:00
parent 42ab117c7f
commit e811dd1274
16 changed files with 198 additions and 203 deletions

View File

@@ -73,7 +73,7 @@ func NewSession(server *Server, conn net.Conn) *Session {
cryptConn: network.NewCryptConn(conn),
sendPackets: make(chan packet, 20),
clientContext: &clientctx.ClientContext{}, // Unused
sessionStart: Time_Current_Adjusted().Unix(),
sessionStart: TimeAdjusted().Unix(),
stageMoveStack: stringstack.New(),
}
return s