Correct comparison
This commit is contained in:
parent
83f2ec673c
commit
89bc48cf0c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue