Skip to content

Commit

Permalink
normalize the counting of map 7-2, which has ever cleared even
Browse files Browse the repository at this point in the history
  • Loading branch information
lasedark committed May 26, 2020
1 parent e95d2f3 commit 9ed232d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventMapHpViewer/Models/MapInfoProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private MapData[] CreateMapList(IEnumerable<member_mapinfo> maps)
return maps
.Select(x => new MapData
{
IsCleared = x.api_cleared,
IsCleared = x.api_defeat_count.HasValue ? 0 : x.api_cleared,
DefeatCount = x.api_defeat_count ?? 0,
RequiredDefeatCount = x.api_required_defeat_count ?? 0,
Id = x.api_id,
Expand Down

0 comments on commit 9ed232d

Please sign in to comment.