Fix random parameter
This commit is contained in:
parent
d6a47787ce
commit
7661c860c4
1 changed files with 1 additions and 1 deletions
2
qd.py
2
qd.py
|
@ -408,7 +408,7 @@ class GameUpdater(threading.Thread):
|
|||
|
||||
if self.bfrseen is not None:
|
||||
seen = datetime.now() - self.bfrseen
|
||||
rnd = random.randint(0, seen.seconds/90)
|
||||
rnd = random.randint(0, int(seen.seconds/90))
|
||||
else:
|
||||
rnd = 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue