From 1c22a1be059920dafab7e34ef302ada83231660e Mon Sep 17 00:00:00 2001 From: Alex Bethel Date: Sun, 19 Dec 2021 11:33:07 -0600 Subject: [PATCH] Whoops, that was backwards --- src/rooms.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rooms.rs b/src/rooms.rs index 5f08bd2..2a1475c 100644 --- a/src/rooms.rs +++ b/src/rooms.rs @@ -72,10 +72,10 @@ impl RoomBounds { } } - !range_overlapping( + range_overlapping( self.ul_corner.0..self.ul_corner.0 + self.size.0, other.ul_corner.0..other.ul_corner.0 + other.size.0, - ) && !range_overlapping( + ) && range_overlapping( self.ul_corner.1..self.ul_corner.1 + self.size.1, other.ul_corner.1..other.ul_corner.1 + other.size.1, )