Add a break so that generated rooms arre only placed once
This commit is contained in:
		@@ -183,6 +183,7 @@ class Generator:
 | 
			
		||||
                if self.room_fits(level, y, x, room, door_y, door_x, dy, dx):
 | 
			
		||||
                    self.place_room(level, y, x, room, door_y, door_x)
 | 
			
		||||
                    rooms_built += 1
 | 
			
		||||
                    break
 | 
			
		||||
            tries += 1
 | 
			
		||||
        
 | 
			
		||||
        # post-processing
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user