From ab90d6ec3d94e374990f2595d3307f6573a78641 Mon Sep 17 00:00:00 2001 From: Cohee Date: Sat, 24 Jun 2023 23:19:21 +0300 Subject: [PATCH] Save before exporting --- public/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/script.js b/public/script.js index b8bad5196..6b116c3c4 100644 --- a/public/script.js +++ b/public/script.js @@ -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', {