Fix this?

In the video, if you noticed the blue arrows, a room is supposed to spawn at either one of those arrows. Heres the room generation code: