Make sure AI is not busy when using retry to regenerate random story
This commit is contained in:
parent
4832dd6f37
commit
0348970b19
|
@ -2863,6 +2863,7 @@ def actionretry(data):
|
||||||
emit('from_server', {'cmd': 'errmsg', 'data': "Retry function unavailable in Read Only mode."})
|
emit('from_server', {'cmd': 'errmsg', 'data': "Retry function unavailable in Read Only mode."})
|
||||||
return
|
return
|
||||||
if(vars.recentrng is not None):
|
if(vars.recentrng is not None):
|
||||||
|
if(not vars.aibusy):
|
||||||
randomGameRequest(vars.recentrng, memory=vars.recentrngm)
|
randomGameRequest(vars.recentrng, memory=vars.recentrngm)
|
||||||
return
|
return
|
||||||
if actionback():
|
if actionback():
|
||||||
|
|
Loading…
Reference in New Issue