Skip to content

Commit

Permalink
リモート設定を parse できるよう修正
Browse files Browse the repository at this point in the history
  • Loading branch information
veigr committed Sep 19, 2018
1 parent 8a59d45 commit e7eac47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EventMapHpViewer/Models/MapData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public async Task<RemainingCount> GetRemainingCount()
MapHpSettings.RemoteBossSettingsUrl,
this.Id,
(int)this.Eventmap.SelectedRank,
this.Eventmap.GaugeNum ?? 1)); // GaugeNum がない場合どうしよう?とりあえず1
this.Eventmap.GaugeNum ?? 0)); // GaugeNum がない場合 0 とみなす(リモート設定は空にしても 0 になるので)
client.CloseConnection();

if (remoteBossData == null)
Expand Down
2 changes: 1 addition & 1 deletion EventMapHpViewer/Models/Raw/map_exboss.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class map_exboss
{
public int mapid { get; set; }
public int rank { get; set; }
public int? gauge { get; set; }
public int gauge { get; set; }
public int maxhp { get; set; }
public bool last { get; set; }
}
Expand Down

0 comments on commit e7eac47

Please sign in to comment.