change acitivity threshold when punishment for country kicks in

This commit is contained in:
HF 2024-01-03 15:23:28 +01:00
parent aa120eca14
commit a6fe93dbe8
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class Ranks {
return;
}
/*
* don't punish when canvas has less than 22% of
* don't punish when canvas has less than 50% of
* daily peak activity
*/
const { pHourlyStats } = this.ranks;
@ -104,7 +104,7 @@ class Ranks {
maxActivity = e;
}
});
if (pHourlyStats[0] < maxActivity * 0.22) {
if (pHourlyStats[0] < maxActivity * 0.5) {
this.#punishedCountry = null;
this.#punishmentFactor = 1.0;
return;