misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
6d70a24aae
commit
d5ac988498
@ -208,7 +208,7 @@ class View(object):
|
|||||||
if peer.first_encounter():
|
if peer.first_encounter():
|
||||||
face = random.choice((faces.AWAKE, faces.COOL))
|
face = random.choice((faces.AWAKE, faces.COOL))
|
||||||
# a good friend, positive expression
|
# a good friend, positive expression
|
||||||
elif peer.is_good_friend():
|
elif peer.is_good_friend(self._config):
|
||||||
face = random.choice((faces.MOTIVATED, faces.FRIEND, faces.HAPPY))
|
face = random.choice((faces.MOTIVATED, faces.FRIEND, faces.HAPPY))
|
||||||
# normal friend, neutral-positive
|
# normal friend, neutral-positive
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user