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_MESSAGES = 10
# DUCK_MINIMUM_UNIQUE = 3 # DUCK_MINIMUM_UNIQUE = 3
if spawned == 0 and next_duck < time() and unique > \ if spawned == 0 and next_duck < time() and unique >= \
DUCK_MINIMUM_UNIQUE and messages > DUCK_MINIMUM_MESSAGES: DUCK_MINIMUM_UNIQUE and messages >= DUCK_MINIMUM_MESSAGES:
return True return True
else: else:
return False return False