Skip to content

Commit

Permalink
Fix shop exclamation mark reappearing (#803)
Browse files Browse the repository at this point in the history
This was performing the wrong check and would show a notification if
there _wasn't_ an item summon available, compared to the check in
/mypage/info.

Closes #762
  • Loading branch information
SapiensAnatis authored May 19, 2024
1 parent 24be07f commit 2bd54ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DragaliaAPI/DragaliaAPI/Services/Game/LoadService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public async Task<LoadIndexResponse> BuildIndexData()
.Select(x => x.MapToUserSummonList()),

FriendNotice = new(0, 0),
ShopNotice = new ShopNotice(savefile.ShopInfo?.DailySummonCount != 0),
ShopNotice = new ShopNotice(savefile.ShopInfo?.DailySummonCount == 0),
GuildNotice = new(0, false, false, false, false),
StaminaMultiSystemMax = userService.StaminaMultiMax,
StaminaMultiUserMax = 12,
Expand Down

0 comments on commit 2bd54ad

Please sign in to comment.