Skip to content
Snippets Groups Projects
Commit 2a957818 authored by ulif's avatar ulif
Browse files

Move comment.

The moved comment was at the wrong place.
parent c9f87c4d
No related branches found
No related tags found
No related merge requests found
......@@ -153,8 +153,8 @@ class RealDiceRandomSource(object):
# If this happens, there are less values in the sequence to
# choose from than there are dice sides.
if len(sequence) == 1:
# Check whether len(sequence) is a factor of dice.sides
return sequence[0]
# Check whether len(sequence) is a factor of dice.sides
if self.dice_sides % len(sequence) == 0:
num_rolls = 1
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment