diff --git a/src/activities/house/room.rs b/src/activities/house/room.rs index f8dd113..87cb84b 100644 --- a/src/activities/house/room.rs +++ b/src/activities/house/room.rs @@ -101,9 +101,9 @@ impl Room { const STOVE_HEIGHT: f32 = 0.025; const SINK_HEIGHT: f32 = 0.5; - #[allow(clippy::single_match, unreachable_patterns)] // we'll add more stuff later + #[allow(clippy::single_match)] // we'll add more stuff later match room_type { - _ => { + RoomType::Kitchen => { // in a kitchen, we always add a fridge let fridge_pos = u8::gen_range(0, 2) * (width - 1); empty_spots.swap_remove(&fridge_pos);