Skip to content

Commit

Permalink
Fixed logic bug due to using non existing data
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeki The Monkey committed Jul 29, 2021
1 parent b7d9b86 commit eb4da14
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Source/Statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,23 @@ Statistics::Statistics(const FontHolder& fonts)
setupLong(TotalKeys);
setupLong(BPM);

mTexts.build(KPS);
mTexts.build(MaxKPS);
mTexts.build(TotalKeys);
mTexts.build(BPM);

setupText();

setupString(KPS, "KPS");
setupString(MaxKPS, "Max KPS");
setupString(TotalKeys, "Total");
setupString(BPM, "BPM");

mTexts.build(KPS);
mTexts.build(MaxKPS);
mTexts.build(TotalKeys);
mTexts.build(BPM);

setTextString(KPS);
setTextString(MaxKPS);
setTextString(TotalKeys);
setTextString(BPM);

setFonts();
setupText();
setTextPositions();
}

Expand Down

0 comments on commit eb4da14

Please sign in to comment.