diff --git a/scripts/nextblank/init.lua b/scripts/nextblank/init.lua index cac92921..61240e02 100644 --- a/scripts/nextblank/init.lua +++ b/scripts/nextblank/init.lua @@ -8,7 +8,7 @@ local function find_next_blank(square) return grid:FindSquare( square or grid:First(), function(s) - return s:IsBlank() + return s:IsBlank() and s:IsWhite() end ) end