I don't understand why the "pickedcount" works with any number but 0.
If I compare to 0, nothing happens, but if I compare to 1, 2, 3.. etc. it always work.
Yes, there IS 0 instances of Tile.State = "White" when I test 0.
Develop games in your browser. Powerful, performant & highly capable.
If it doesn't pick anything it doesn't go to the next line. If you put in an else you will go to the else branch for pick count =0.
At least that has worked in the past for me.
yours
winkr7
Thank you good sir. I don't know how I missed that.