This commit is contained in:
parent
c6258e1094
commit
d0b488b863
1 changed files with 2 additions and 2 deletions
|
@ -540,7 +540,7 @@ while True:
|
|||
happiness = 10
|
||||
elif len(command) == 1:
|
||||
happiness += (1 if happiness != 10 else 0)
|
||||
if int(command[1]) < 50:
|
||||
if len(command) == 2 and int(command[1]) < 50:
|
||||
multiline(choice(pats) + " (Emotion: Upset " +
|
||||
("#" * int(happiness)) +
|
||||
("-" * int(10-happiness)) + " Happy)",
|
||||
|
@ -565,7 +565,7 @@ while True:
|
|||
happiness = 0
|
||||
elif len(command) == 1:
|
||||
happiness -= (1 if happiness != 0 else 0)
|
||||
if int(command[1]) < 50:
|
||||
if len(command) == 2 and int(command[1]) < 50:
|
||||
multiline(choice(baps) + " (Emotion: Upset " +
|
||||
("#" * int(happiness)) +
|
||||
("-" * int(10-happiness)) + " Happy)",
|
||||
|
|
Loading…
Reference in a new issue