Correct comparison

This commit is contained in:
dngfx 2018-09-08 19:32:10 +01:00 committed by dongfix
parent 83f2ec673c
commit 89bc48cf0c

View file

@ -137,8 +137,8 @@ class Module(object):
# DUCK_MINIMUM_MESSAGES = 10
# DUCK_MINIMUM_UNIQUE = 3
if spawned == 0 and next_duck < time() and unique > \
DUCK_MINIMUM_UNIQUE and messages > DUCK_MINIMUM_MESSAGES:
if spawned == 0 and next_duck < time() and unique >= \
DUCK_MINIMUM_UNIQUE and messages >= DUCK_MINIMUM_MESSAGES:
return True
else:
return False