Fix PlayerHeartBeatScRsp timestamp

This commit is contained in:
xeon 2024-06-26 14:29:08 +03:00
parent 540b943576
commit e7e140f341

View file

@ -18,7 +18,7 @@ pub fn onPlayerHeartBeat(session: *Session, packet: *const Packet, allocator: Al
const rsp = protocol.PlayerHeartBeatScRsp{
.retcode = 0,
.client_time_ms = req.client_time_ms,
.server_time_ms = @intCast(std.time.timestamp()),
.server_time_ms = @intCast(std.time.milliTimestamp()),
.download_data = data,
};