mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
Small hotfix (#840)
* yesno box now correctly clean up before new content is loaded in. * formatHp doesnt display decimal, duh * character overview uses numeralWrapper formatHp * minor formatting stuff * Class spending is tracked indepedently of work money * Made an augmentation named after myself. * hotfix a bunch of small stuff
This commit is contained in:
@@ -550,7 +550,11 @@ export function processWorkEarnings(numCycles=1) {
|
||||
this.gainAgilityExp(agiExpGain);
|
||||
this.gainCharismaExp(chaExpGain);
|
||||
this.gainMoney(moneyGain);
|
||||
this.recordMoneySource(moneyGain, "work");
|
||||
if (this.className) {
|
||||
this.recordMoneySource(moneyGain, "class");
|
||||
} else {
|
||||
this.recordMoneySource(moneyGain, "work");
|
||||
}
|
||||
this.workHackExpGained += hackExpGain;
|
||||
this.workStrExpGained += strExpGain;
|
||||
this.workDefExpGained += defExpGain;
|
||||
|
||||
Reference in New Issue
Block a user