Skip to content

Commit

Permalink
fix: successful +/-2 bug (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsuna827 committed Apr 11, 2024
1 parent def7ab4 commit 204b190
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ItemPrinterDeGacha.WinForms/Controls/ModeSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ private static bool IsPassAdjacent(ulong check, Span<Item> tmp, PrintMode mode)
if (adj != mode)
return false;
}
// Since `tmp` contains the result at +2sec, recalculate the result for +/- 0.
ItemPrinter.Print(check, tmp, Mode);
return true;
}
}

0 comments on commit 204b190

Please sign in to comment.