mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-12 17:10:54 +00:00
are we a victim of rounding?
This commit is contained in:
parent
c63a93679b
commit
30bc90b152
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ func C2SHello(conn *websocket.Conn, client *ClientInfo, msg ClientMessage) (rmsg
|
|||
SubscribeDefaults(client)
|
||||
|
||||
if client.Version.After(&lastVersionWithoutReplyWithServerTime) {
|
||||
jsTime := float64(time.Now().UnixNano()) / (1000 * 1000)
|
||||
jsTime := float64(time.Now().UnixNano() / 1000) / 1000
|
||||
return ClientMessage{
|
||||
Arguments: []interface{}{
|
||||
client.ClientID.String(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue