Update with pattern changes.

This commit is contained in:
smoogipooo 2017-05-22 10:20:42 +09:00
parent e9f7be8dce
commit 2d11a8bdf0
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ private int getNextRandomColumn(int start)
{
int nextColumn = Random.Next(start, AvailableColumns);
while (PreviousPattern.IsFilled(nextColumn))
while (PreviousPattern.ColumnHasObject(nextColumn))
nextColumn = Random.Next(start, AvailableColumns);
return nextColumn;