Commit 2f63dc93 authored by nanamicat's avatar nanamicat

time

parent 1c797d7b
Pipeline #42442 passed with stages
in 54 seconds
......@@ -47,6 +47,7 @@ impl Router {
match delta {
-63..=-1 => {
self.receive |= 1 << (-delta);
return;
}
0 => return,
1..=63 => {
......@@ -56,6 +57,7 @@ impl Router {
}
_ => {
self.remote_time = data.time;
self.local_time = Instant::now();
return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment