This commit is contained in:
2025-03-30 22:43:41 +02:00
parent 0271b56542
commit f4b58fb67e
6 changed files with 99 additions and 18 deletions

View File

@@ -271,7 +271,7 @@ bool Settings::decreaseDistribution(int size) {
void Settings::confirmDistribution() {
for (int i = 1; i <= 15; i++) {
this->menu.getPiecesList().changeCustomDistribution(i, (double) this->distributions.at(i) / (DISTRIBUTION_MAX + 0.001));
this->menu.getPiecesList().changeCustomDistribution(i, (double) 1 / (this->distributions.at(i) + 0.001));
}
}