Delay is not needed anymore.
| @@ -403,7 +403,6 @@ export async function convertCharacterToPersona(characterId = null) { | ||
| 403 | 403 | } |
| 404 | 404 | |
| 405 | 405 | if (description.includes('{{char}}') || description.includes('{{user}}')) { |
| 406 | - await delay(500); | |
| 407 | 406 | const confirm = await Popup.show.confirm('Persona Description Macros', 'This character has a description that uses <code>{{char}}</code> or <code>{{user}}</code> macros. Do you want to swap them in the persona description?'); |
| 408 | 407 | if (confirm) { |
| 409 | 408 | description = description.replace(/{{char}}/gi, '{{personaChar}}').replace(/{{user}}/gi, '{{personaUser}}'); |