Skip to content

Commit

Permalink
fixed !sellcheck by the_devil981
Browse files Browse the repository at this point in the history
  • Loading branch information
TestingPurposes authored Aug 21, 2021
1 parent b80e8ea commit 000ac00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -804,12 +804,12 @@ else if (MSG.toUpperCase().indexOf("!LEVEL") >= 0) {
{
if(DATA[Object.keys(DATA)[i]].length >= CONFIG.MAXSTOCKSETSPERGAME)
{
botNSets= CONFIG.MAXSTOCKSETSPERGAME-botSets[Object.keys(DATA)[i]].length;
botNSets+= CONFIG.MAXSTOCKSETSPERGAME-botSets[Object.keys(DATA)[i]].length;
}
else
{
var left = CONFIG.MAXSTOCKSETSPERGAME - DATA[Object.keys(DATA)[i]].length;
botNSets = (left>DATA[Object.keys(DATA)[i]].length) ? DATA[Object.keys(DATA)[i]].length:left;
botNSets += (left>DATA[Object.keys(DATA)[i]].length) ? DATA[Object.keys(DATA)[i]].length:left;

}
}
Expand Down

0 comments on commit 000ac00

Please sign in to comment.