mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
workerscript log takes a function now, hopefully this will increase performance.
This commit is contained in:
+1
-1
@@ -349,7 +349,7 @@ export class Gang {
|
||||
const res = member.ascend();
|
||||
this.respect = Math.max(1, this.respect - res.respect);
|
||||
if (workerScript) {
|
||||
workerScript.log("ascend", `Ascended Gang member ${member.name}`);
|
||||
workerScript.log("ascend", () => `Ascended Gang member ${member.name}`);
|
||||
}
|
||||
return res;
|
||||
} catch (e: any) {
|
||||
|
||||
Reference in New Issue
Block a user