mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix forcing pygmalion on no connection
This commit is contained in:
@ -375,7 +375,7 @@ async function getStatus() {
|
|||||||
if (online_status == undefined) {
|
if (online_status == undefined) {
|
||||||
online_status = "no_connection";
|
online_status = "no_connection";
|
||||||
}
|
}
|
||||||
if (online_status.toLowerCase().indexOf("pygmalion") != -1 || force_pygmalion_formatting) {
|
if (online_status.toLowerCase().indexOf("pygmalion") != -1 || (online_status !== "no_connection" && force_pygmalion_formatting)) {
|
||||||
is_pygmalion = true;
|
is_pygmalion = true;
|
||||||
online_status += " (Pyg. formatting on)";
|
online_status += " (Pyg. formatting on)";
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user