Refactor AccountStorage to use private fields for state management

This commit is contained in:
Cohee
2025-02-12 10:58:36 +02:00
parent 798f8d92a3
commit 5085f6cdc9
2 changed files with 30 additions and 17 deletions

View File

@ -7098,7 +7098,7 @@ export async function saveSettings(loopCounter = 0) {
url: '/api/settings/save',
data: JSON.stringify({
firstRun: firstRun,
accountStorage: accountStorage.state,
accountStorage: accountStorage.getState(),
currentVersion: currentVersion,
username: name1,
active_character: active_character,