Fix random parameter

This commit is contained in:
Némunaire 2012-05-21 13:14:28 +02:00
parent d6a47787ce
commit 7661c860c4

2
qd.py
View File

@ -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