Skip to content

Commit

Permalink
bah
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed Apr 25, 2024
1 parent a0d8c52 commit a373b39
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions files/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,19 +270,15 @@ function startup() {
break;

case "contemptmode":
set_checks("Engine", "Contempt Mode (Lc0)", msg.val);
set_checks("Engine", "Contempt Mode", msg.val);
break;

case "contempt":
set_checks("Engine", "Contempt (Lc0)", msg.val);
set_checks("Engine", "Contempt", msg.val);
break;

case "wdlcalibrationelo":
if (msg.val === "0") {
set_checks("Engine", "WDL Calibration Elo (Lc0)", "Use default WDL");
} else {
set_checks("Engine", "WDL Calibration Elo (Lc0)", msg.val);
}
set_checks("Engine", "WDL Calibration Elo", msg.val === "0" ? "Use default WDL" : msg.val);
break;

}
Expand Down Expand Up @@ -3361,7 +3357,7 @@ function menu_build() {
type: "separator"
},
{
label: "Contempt Mode (Lc0)",
label: "Contempt Mode",
submenu: [
/*
{
Expand Down Expand Up @@ -3416,7 +3412,7 @@ function menu_build() {
]
},
{
label: "Contempt (Lc0)",
label: "Contempt",
submenu: [
{
label: "250",
Expand Down Expand Up @@ -3529,7 +3525,7 @@ function menu_build() {
]
},
{
label: "WDL Calibration Elo (Lc0)",
label: "WDL Calibration Elo",
submenu: [
{
label: "3600",
Expand Down

0 comments on commit a373b39

Please sign in to comment.