mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 17:23:00 +02:00
UI: Suppress confusing reputation-earned dialog on augment install (#739)
This commit is contained in:
committed by
GitHub
parent
9a0d688909
commit
62058a7f78
@@ -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