mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-01 18:16:46 +01:00
Fix for retry causing issues for future redo actions
This commit is contained in:
parent
2c66461c14
commit
ae854bab3d
@ -2871,6 +2871,8 @@ def actionretry(data):
|
||||
last_key = vars.actions.get_last_key()
|
||||
vars.actions.pop()
|
||||
remove_story_chunk(last_key + 1)
|
||||
#for the redo to not get out of whack, need to reset the max # in the actions sequence
|
||||
vars.actions.set_next_id(last_key)
|
||||
vars.recentback = False
|
||||
vars.recentedit = False
|
||||
vars.lua_koboldbridge.feedback = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user