Skip to content

Commit

Permalink
Fix time offset bool
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-zu committed Mar 6, 2024
1 parent 9a4163d commit ab8c96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shroom-pkt/src/proto/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl From<(bool, u32)> for ClientTimeOffset {
impl From<ClientTimeOffset> for (bool, u32) {
fn from(v: ClientTimeOffset) -> Self {
let v = v.0 .0;
(v >= 0, v.unsigned_abs())
(v < 0, v.unsigned_abs())
}
}

Expand Down

0 comments on commit ab8c96f

Please sign in to comment.