Skip to content

Commit

Permalink
add MaximumAllowedGrowth #638
Browse files Browse the repository at this point in the history
  • Loading branch information
Quake4 committed Feb 25, 2020
1 parent 2994d37 commit 835f680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pools/MRR.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ try {
elseif ($prft -lt $persprofit) {
$persprofit *= 1.01
}
elseif ($prft -gt ($persprofit * 10)) {
$persprofit *= 9.99
elseif ($prft -gt ($persprofit * $Config.MaximumAllowedGrowth)) {
$persprofit *= $Config.MaximumAllowedGrowth
}
else {
$persprofit = 0
Expand Down

0 comments on commit 835f680

Please sign in to comment.