Fix random story retry, for real this time

This commit is contained in:
Gnome Ann 2021-12-26 22:51:07 -05:00
parent 1189781eac
commit a4087b93e9
1 changed files with 1 additions and 1 deletions

View File

@ -1612,6 +1612,7 @@ def get_message(msg):
vars.chatname = msg['chatname'] vars.chatname = msg['chatname']
settingschanged() settingschanged()
emit('from_server', {'cmd': 'setchatname', 'data': vars.chatname}, broadcast=True) emit('from_server', {'cmd': 'setchatname', 'data': vars.chatname}, broadcast=True)
vars.recentrng = None
actionsubmit(msg['data'], actionmode=msg['actionmode']) actionsubmit(msg['data'], actionmode=msg['actionmode'])
elif(vars.mode == "edit"): elif(vars.mode == "edit"):
editsubmit(msg['data']) editsubmit(msg['data'])
@ -4178,7 +4179,6 @@ def randomGameRequest(topic):
newGameRequest() newGameRequest()
vars.memory = "You generate the following " + topic + " story concept :" vars.memory = "You generate the following " + topic + " story concept :"
vars.lua_koboldbridge.feedback = None vars.lua_koboldbridge.feedback = None
vars.recentrng = None
actionsubmit("", force_submit=True, force_prompt_gen=True) actionsubmit("", force_submit=True, force_prompt_gen=True)
vars.memory = "" vars.memory = ""