mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 19:14:32 +02:00
UI: Suppress confusing reputation-earned dialog on augment install (#739)
This commit is contained in:
committed by
GitHub
parent
9a0d688909
commit
62058a7f78
@@ -130,7 +130,7 @@ export function prestigeAugmentation(this: PlayerObject): void {
|
||||
this.reapplyAllAugmentations(true);
|
||||
this.hp.current = this.hp.max;
|
||||
|
||||
this.finishWork(true);
|
||||
this.finishWork(true, true);
|
||||
}
|
||||
|
||||
export function prestigeSourceFile(this: PlayerObject): void {
|
||||
|
||||
@@ -15,9 +15,9 @@ export function processWork(this: PlayerObject, cycles = 1): void {
|
||||
this.finishWork(false);
|
||||
}
|
||||
}
|
||||
export function finishWork(this: PlayerObject, cancelled: boolean): void {
|
||||
export function finishWork(this: PlayerObject, cancelled: boolean, suppressDialog?: boolean): void {
|
||||
if (this.currentWork === null) return;
|
||||
this.currentWork.finish(cancelled);
|
||||
this.currentWork.finish(cancelled, !!suppressDialog);
|
||||
this.currentWork = null;
|
||||
this.focus = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user