Skip to content

Commit

Permalink
Fix negative DPS values
Browse files Browse the repository at this point in the history
  • Loading branch information
danong committed Sep 3, 2018
1 parent 086e2f4 commit cbcd47f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ private void update_tick(object sender, EventArgs e)
{
this.in_quest = true;
this.first_damage = DateTime.UtcNow;
Array.Clear(this.prev_player_damages, 0, this.prev_player_damages.Length);
Array.Clear(this.player_damages, 0, this.player_damages.Length);
}

this.prev_player_damages = this.player_damages;
Expand Down

0 comments on commit cbcd47f

Please sign in to comment.