diff --git a/modules/Dice.py b/modules/Dice.py index e03927f..eb26083 100644 --- a/modules/Dice.py +++ b/modules/Dice.py @@ -87,11 +87,11 @@ class Dice(Module): # the whole current dice string (the part up to a semicolon or end of line) def process_roll(self, trials, mods, comment): output = "" - mode = 1 repeat = 1 if trials != None: repeat = trials for i in range(repeat): + mode = 1 total = 0 curr_str = "" if i > 0: