Fix PlayerHeartBeatScRsp timestamp
This commit is contained in:
parent
540b943576
commit
e7e140f341
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pub fn onPlayerHeartBeat(session: *Session, packet: *const Packet, allocator: Al
|
||||||
const rsp = protocol.PlayerHeartBeatScRsp{
|
const rsp = protocol.PlayerHeartBeatScRsp{
|
||||||
.retcode = 0,
|
.retcode = 0,
|
||||||
.client_time_ms = req.client_time_ms,
|
.client_time_ms = req.client_time_ms,
|
||||||
.server_time_ms = @intCast(std.time.timestamp()),
|
.server_time_ms = @intCast(std.time.milliTimestamp()),
|
||||||
.download_data = data,
|
.download_data = data,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue