mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 04:17:05 +02:00
update and fix (#1225)
Co-authored-by: Caldwell <15591472+Caldwell-74@users.noreply.github.com>
This commit is contained in:
@@ -34,6 +34,13 @@ export class SleeveInfiltrateWork extends SleeveWorkClass {
|
||||
this.nextCompletionPair.promise = new Promise((r) => (this.nextCompletionPair.resolve = r));
|
||||
return this.nextCompletionPair.promise;
|
||||
}
|
||||
finish() {
|
||||
if (this.nextCompletionPair.resolve) {
|
||||
this.nextCompletionPair.resolve();
|
||||
this.nextCompletionPair.resolve = null;
|
||||
this.nextCompletionPair.promise = null;
|
||||
}
|
||||
}
|
||||
|
||||
APICopy() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user