From cd00373cfbf5fdf7e95f19009e90c09d193e863f Mon Sep 17 00:00:00 2001 From: ebolam Date: Thu, 10 Feb 2022 09:21:07 -0500 Subject: [PATCH 1/2] Deleted unused svg --- static/pin.svg | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 static/pin.svg diff --git a/static/pin.svg b/static/pin.svg deleted file mode 100644 index 88452ea0..00000000 --- a/static/pin.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file From 633152ee847f36574d6b325e56ad2667de7bdd91 Mon Sep 17 00:00:00 2001 From: ebolam Date: Thu, 10 Feb 2022 10:01:07 -0500 Subject: [PATCH 2/2] Fixed Retry bug due to redo/pin code --- aiserver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aiserver.py b/aiserver.py index 7058eb9f..82d046ec 100644 --- a/aiserver.py +++ b/aiserver.py @@ -2606,11 +2606,11 @@ def actionretry(data): if(vars.gamestarted if vars.useprompt else len(vars.actions) > 0): if(not vars.recentback and len(vars.actions) != 0 and len(vars.genseqs) == 0): # Don't pop if we're in the "Select sequence to keep" menu or if there are no non-prompt actions # We are going to move the selected text to alternative text in the actions_metadata variable so we can redo this action - vars.actions_metadata[vars.actions]['Alternative Text'] = [{'Text': vars.actions_metadata[len(vars.actions)]['Selected Text'], + vars.actions_metadata[len(vars.actions)-1]['Alternative Text'] = [{'Text': vars.actions_metadata[len(vars.actions)-1]['Selected Text'], 'Pinned': False, "Previous Selection": True, - "Edited": False}] + vars.actions_metadata[vars.actions]['Alternative Text'] - vars.actions_metadata[vars.actions]['Selected Text'] = "" + "Edited": False}] + vars.actions_metadata[len(vars.actions)-1]['Alternative Text'] + vars.actions_metadata[len(vars.actions)-1]['Selected Text'] = ""