Replace "ALL" log flag with individually disabling every log.

https://github.com/danielyxie/bitburner/issues/1116
This commit is contained in:
Cass
2021-08-31 21:03:39 +01:00
parent 79345a49b4
commit fe25460997
2 changed files with 12 additions and 5 deletions

View File

@@ -187,7 +187,7 @@ export class WorkerScript {
}
shouldLog(fn: string): boolean {
return (this.disableLogs.ALL == null && this.disableLogs[fn] == null);
return (this.disableLogs[fn] == null);
}
log(func: string, txt: string): void {