Skip to content

Commit

Permalink
Show "Contempt active!" in statusbox
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed May 30, 2024
1 parent 3f6a4e5 commit 16b6491
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion files/src/renderer/83_statusbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ function NewStatusHandler() {
} else if (config.behaviour === "back_analysis") {
status_string += `<span class="green">Back-eval! </span>`;
} else if (config.behaviour === "analysis_free") {
status_string += `<span id="haltbutton_clicker" class="green">ANALYSIS (halt?) </span>`;
if (hub.engine.sent_options.contempt !== undefined && hub.engine.sent_options.contempt !== "0") {
status_string += `<span id="haltbutton_clicker" class="green">Contempt active! </span>`;
} else {
status_string += `<span id="haltbutton_clicker" class="green">ANALYSIS (halt?) </span>`;
}
}

if (config.book_explorer) {
Expand Down

0 comments on commit 16b6491

Please sign in to comment.