mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-05 21:46:49 +01:00
Moving check down for spec adherence
This commit is contained in:
parent
0d1e96cc17
commit
61ba579fe2
@ -3864,12 +3864,6 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (buffer.getExternallyActivated(entry)) {
|
||||
log('externally activated');
|
||||
activatedNow.add(buffer.getExternallyActivated(entry));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (entry.decorators.includes('@@activate')) {
|
||||
log('activated by @@activate decorator');
|
||||
activatedNow.add(entry);
|
||||
@ -3881,6 +3875,12 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (buffer.getExternallyActivated(entry)) {
|
||||
log('externally activated');
|
||||
activatedNow.add(buffer.getExternallyActivated(entry));
|
||||
continue;
|
||||
}
|
||||
|
||||
// Now do checks for immediate activations
|
||||
if (entry.constant) {
|
||||
log('activated because of constant');
|
||||
|
Loading…
Reference in New Issue
Block a user