Ironic that in most programming languages a single line of code would have prevented what has happened.

while result is equal to zero, re-run lottery roll.