Fix for retry causing issues for future redo actions

This commit is contained in:
ebolam 2022-03-11 11:40:55 -05:00
parent 2c66461c14
commit ae854bab3d

View File

@ -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