mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Don't leak forward text
This commit is contained in:
@@ -1774,7 +1774,7 @@ class KoboldStoryRegister(object):
|
|||||||
self.show_options(len(self.get_current_options()) > 1)
|
self.show_options(len(self.get_current_options()) > 1)
|
||||||
|
|
||||||
if len(self.get_current_options()) == 1:
|
if len(self.get_current_options()) == 1:
|
||||||
logger.warning("Going forward with this text: {}".format(self.get_current_options()[0]["text"]))
|
logger.debug("Going forward with this text: {}".format(self.get_current_options()[0]["text"]))
|
||||||
self.use_option([x['text'] for x in self.actions[action_step]["Options"]].index(self.get_current_options()[0]["text"]))
|
self.use_option([x['text'] for x in self.actions[action_step]["Options"]].index(self.get_current_options()[0]["text"]))
|
||||||
|
|
||||||
def use_option(self, option_number, action_step=None):
|
def use_option(self, option_number, action_step=None):
|
||||||
|
Reference in New Issue
Block a user