Skip to content

Commit

Permalink
register if turn 20 and beyond
Browse files Browse the repository at this point in the history
  • Loading branch information
dlidstrom committed May 2, 2023
1 parent aee300e commit 4285163
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public override async Task Handle(HandlerContext<Command> context)
Parse4Result? parse4Result = parser.Parse4(bitsMatchResult, websiteConfig.ClubId);
if (parse4Result != null)
{
if (parse4Result.Series.Length != 4 && parse4Result.Turn < 20)
if (parse4Result.Series.Length != 4 && parse4Result.Turn <= 19)
{
Logger.InfoFormat(
"detected unfinished match: {length} series have been registered",
Expand All @@ -56,7 +56,7 @@ await context.ExecuteCommand(
ParseResult? parseResult = parser.Parse(bitsMatchResult, websiteConfig.ClubId);
if (parseResult != null)
{
if (parseResult.Series.Length != 4 && parseResult.Turn <= 20)
if (parseResult.Series.Length != 4 && parseResult.Turn <= 19)
{
Logger.InfoFormat(
"detected unfinished match: {length} series have been registered",
Expand Down

0 comments on commit 4285163

Please sign in to comment.