mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-26 04:25:15 +01:00
boost negative income correctly
This commit is contained in:
parent
d15c2a77d0
commit
1726f4ba4b
@ -46,7 +46,7 @@ public class Boost {
|
||||
double f = income;
|
||||
|
||||
if (income > 0 || income < 0 && Jobs.getGCManager().applyToNegativeIncome)
|
||||
f = income + ((income > 0D ? income : -income) * getFinal(BT, false, false));
|
||||
f = income + income * getFinal(BT, false, false);
|
||||
|
||||
if (income > 0 && f < 0 || income < 0 && f > 0)
|
||||
f = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user