Skip to content

Commit

Permalink
handle 'Skill Level' option (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
vshcherbyna committed Jan 1, 2020
1 parent a430605 commit 3f6bed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ void Uci::onSetOption(commandParams params)
std::cout << "Unable set threads value. Make sure number is correct" << std::endl;
m_searcher.setThreadCount(threads - 1);
}
else if (name == "Level") {
else if (name == "Skill Level") {
auto level = atoi(value.c_str());

if (level > MAX_LEVEL || MIN_LEVEL < 0)
Expand Down

0 comments on commit 3f6bed0

Please sign in to comment.