Save before exporting

This commit is contained in:
Cohee
2023-06-24 23:19:21 +03:00
parent f360706227
commit ab90d6ec3d

View File

@ -7351,6 +7351,8 @@ $(document).ready(function () {
return;
}
// Save before exporting
await createOrEditCharacter();
const body = { format, avatar_url: characters[this_chid].avatar };
const response = await fetch('/exportcharacter', {