Skip to content

Commit

Permalink
Merge pull request #8 from DGP-Studio/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
AllesUgo authored Sep 10, 2023
2 parents a9b17d9 + f2c38bc commit c572c7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private static GachaStatistics CreateCore(
foreach (Model.Entity.GachaItem item in CollectionsMarshal.AsSpan(items))
{
// Find target history wish to operate.
HistoryWishBuilder? targetHistoryWishBuilder = item.GachaType is not GachaConfigType.StandardWish
HistoryWishBuilder? targetHistoryWishBuilder = item.GachaType is not (GachaConfigType.StandardWish or GachaConfigType.NoviceWish)
? historyWishBuilderMap[item.GachaType].FirstOrDefault(w => w.From <= item.Time && w.To >= item.Time)
: default;

Expand Down

0 comments on commit c572c7a

Please # to comment.