Comment 1 for bug 1915376

Revision history for this message
David Rutter (quintopia) wrote :

I looked at the code for handling '?'. The bug is in the line:

randint = ((Math.round(Math.random()*3)));

This will generate the number 1 or 2 twice as often as 0 or 3. It should change to:

randint = ((Math.floor(Math.random()*4)));