diff --git a/main.py b/main.py index 2646317..12038ac 100644 --- a/main.py +++ b/main.py @@ -31,8 +31,7 @@ app = Flask(__name__) # App Info -#gen_ip = "http://35.192.97.36:8010/" -gen_ip = "http://0.0.0.0:8090" +gen_ip = "http://35.192.97.36:8010" phrases = [" You attack", " You use", " You tell", " You go"] prompts = ["You enter a dungeon with your trusty sword and shield. You are searching for the evil necromancer who killed your family. You've heard that he resides at the bottom of the dungeon, guarded by legions of the undead. You enter the first door and see"] requested_map = {} diff --git a/static/script.js b/static/script.js index 9bc374f..41f7ea8 100644 --- a/static/script.js +++ b/static/script.js @@ -62,11 +62,14 @@ var StoryTracker = { }, actionWait:function(){ - if(action_waiting == true || typing){ - setTimeout(StoryTracker.actionWait, 4000); - } - else{ - Typer.appendToText(" Generating...") + + if(action_waiting == true){ + if(typing == true || acceptInput == true){ + setTimeout(StoryTracker.actionWait, 5000); + } + else{ + Typer.appendToText(" Generating...") + } } }, diff --git a/templates/about.html b/templates/about.html index 087853d..9ba5a66 100644 --- a/templates/about.html +++ b/templates/about.html @@ -10,7 +10,7 @@