Skip to content

Commit

Permalink
clearer clear
Browse files Browse the repository at this point in the history
Co-Authored-By: Daniel McNab <36049421+DJMcNab@users.noreply.github.com>
  • Loading branch information
mockersf and DJMcNab committed Jun 1, 2022
1 parent 5cf7a6a commit 96ba1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_diagnostic/src/diagnostic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl Diagnostic {

self.sum += value;
} else {
self.history.pop_front();
self.history.clear();
self.sum = value;
}
self.history
Expand Down

0 comments on commit 96ba1f7

Please sign in to comment.