Removed a few yields to speed up the process a bit
This commit is contained in:
parent
4c925cb911
commit
3bec0e91fe
|
@ -36,7 +36,10 @@ function state_loading()
|
||||||
board:reset()
|
board:reset()
|
||||||
repeat
|
repeat
|
||||||
board:solve_step(true)
|
board:solve_step(true)
|
||||||
yield()
|
-- reduce the number of yields to speed up the process
|
||||||
|
if board_size == 10 and rnd(1) < .2 or true then
|
||||||
|
yield()
|
||||||
|
end
|
||||||
until board:is_complete()
|
until board:is_complete()
|
||||||
until board:is_valid()
|
until board:is_valid()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user