Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufmte committed Nov 2, 2022
1 parent 5953c55 commit cb940bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/displayapp/screens/Dice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ void Dice::Roll() {

if (nCounter.GetValue() == 1) {
resultTotal = distrib(gen);
}
else {
} else {
for (uint8_t i = 0; i < nCounter.GetValue(); i++) {
resultIndividual = distrib(gen);
resultTotal += resultIndividual;
Expand Down

0 comments on commit cb940bf

Please sign in to comment.