revert more unrelated code

This commit is contained in:
jojorne
2023-03-11 13:54:01 -03:00
parent c87ef60db1
commit 53f06903c2

View File

@@ -1801,6 +1801,7 @@ class KoboldStoryRegister(object):
if "wi_highlighted_text" in self.actions[action_id]:
del self.actions[action_id]["wi_highlighted_text"]
self.actions[action_id]['Selected Text Length'] = 0
self.action_count -= 1
process_variable_changes(self._socketio, "story", 'actions', {"id": action_id, 'action': self.actions[action_id]}, None)
self.set_game_saved()
logger.debug("Calcing AI Text from Action Delete")