Logan Zoellner commited on
Commit
ea73078
1 Parent(s): 74e53ba

fix fallback

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ story="""Computer: You are standing in the enterance of the dungeon.
21
 
22
 
23
  def fallbackResponse():
24
- "You are attacked by a {monster}!".format(monster=random.choice(monsters))
25
 
26
  def continue_story(prompt):
27
  global story
 
21
 
22
 
23
  def fallbackResponse():
24
+ return "You are attacked by a {monster}!".format(monster=random.choice(monsters))
25
 
26
  def continue_story(prompt):
27
  global story