use a better random integer generator - fixes #810
What does this PR do?
Just replace the complicated modulo maths, with the built-in randomInt
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request