>>31199479I had it doing rooms first initially, but since my floor is just an int array and doesn't store any data about the rooms I had no way to know if a room was connected after it was placed. But I just switched it to have corridors placed first and it worked like a charm. Pic is the floor before rooms are placed
Now it just needs to skip placing any corridor tiles that would create a 4x4 shape. Although wide corridors might be a cool idea