Revert "Bug fix for saves putting actions metadata as a dict instead of a list when not used yet"
This reverts commit 171effc29b
.
This commit is contained in:
parent
171effc29b
commit
b5a6b44582
|
@ -270,7 +270,7 @@ class vars:
|
||||||
setauthornotetemplate = authornotetemplate # Saved author's note template in settings
|
setauthornotetemplate = authornotetemplate # Saved author's note template in settings
|
||||||
andepth = 3 # How far back in history to append author's note
|
andepth = 3 # How far back in history to append author's note
|
||||||
actions = structures.KoboldStoryRegister() # Actions submitted by user and AI
|
actions = structures.KoboldStoryRegister() # Actions submitted by user and AI
|
||||||
actions_metadata = [] # List of dictonaries, one dictonary for every action that contains information about the action like alternative options.
|
actions_metadata = {} # List of dictonaries, one dictonary for every action that contains information about the action like alternative options.
|
||||||
# Contains at least the same number of items as actions. Back action will remove an item from actions, but not actions_metadata
|
# Contains at least the same number of items as actions. Back action will remove an item from actions, but not actions_metadata
|
||||||
# Dictonary keys are:
|
# Dictonary keys are:
|
||||||
# Selected Text: (text the user had selected. None when this is a newly generated action)
|
# Selected Text: (text the user had selected. None when this is a newly generated action)
|
||||||
|
|
Loading…
Reference in New Issue