Skip to content

Commit

Permalink
Fix RoomXY
Browse files Browse the repository at this point in the history
  • Loading branch information
khoover committed Sep 6, 2024
1 parent 29e81d1 commit 4f01f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/local/room_xy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl fmt::Display for RoomXY {

impl From<RoomXY> for (u8, u8) {
fn from(xy: RoomXY) -> (u8, u8) {
(xy.x.0, xy.y.0)
(xy.x.u8(), xy.y.())
}
}

Expand Down

0 comments on commit 4f01f5c

Please sign in to comment.