mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
revert more unrelated code
This commit is contained in:
@@ -1801,6 +1801,7 @@ class KoboldStoryRegister(object):
|
|||||||
if "wi_highlighted_text" in self.actions[action_id]:
|
if "wi_highlighted_text" in self.actions[action_id]:
|
||||||
del self.actions[action_id]["wi_highlighted_text"]
|
del self.actions[action_id]["wi_highlighted_text"]
|
||||||
self.actions[action_id]['Selected Text Length'] = 0
|
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)
|
process_variable_changes(self._socketio, "story", 'actions', {"id": action_id, 'action': self.actions[action_id]}, None)
|
||||||
self.set_game_saved()
|
self.set_game_saved()
|
||||||
logger.debug("Calcing AI Text from Action Delete")
|
logger.debug("Calcing AI Text from Action Delete")
|
||||||
|
Reference in New Issue
Block a user