diff --git a/src/local/room_xy.rs b/src/local/room_xy.rs index 4f1e9699..36146d5a 100644 --- a/src/local/room_xy.rs +++ b/src/local/room_xy.rs @@ -265,7 +265,7 @@ impl fmt::Display for RoomXY { impl From for (u8, u8) { fn from(xy: RoomXY) -> (u8, u8) { - (xy.x.0, xy.y.0) + (xy.x.u8(), xy.y.()) } }