Move creatorNotes macro init

5c4794812fec15a3554f2ae143f3f97ac1b7ecd2

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/script.js+1 -1
@@ -2751,6 +2751,7 @@ export function substituteParams(content, _name1, _name2, _original, _group, _re
2751 environment.charVersion = fields.version || '';2751 environment.charVersion = fields.version || '';
2752 environment.char_version = fields.version || '';2752 environment.char_version = fields.version || '';
2753 environment.charDepthPrompt = fields.charDepthPrompt || '';2753 environment.charDepthPrompt = fields.charDepthPrompt || '';
2754 environment.creatorNotes = fields.creatorNotes || '';
2754 }2755 }
27552756
2756 // Must be substituted last so that they're replaced inside {{description}}2757 // Must be substituted last so that they're replaced inside {{description}}
@@ -4291,7 +4292,6 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
4291 loreAfter: worldInfoAfter,4292 loreAfter: worldInfoAfter,
4292 mesExamples: mesExamplesArray.join(''),4293 mesExamples: mesExamplesArray.join(''),
4293 mesExamplesRaw: mesExamplesRawArray.join(''),4294 mesExamplesRaw: mesExamplesRawArray.join(''),
4294 creatorNotes: creatorNotes,
4295 };4295 };
42964296
4297 const storyString = renderStoryString(storyStringParams);4297 const storyString = renderStoryString(storyStringParams);