mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 16:22:56 +02:00
fix bug with workForFaction
This commit is contained in:
@@ -2953,6 +2953,7 @@ function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
return true;
|
||||
},
|
||||
workForFaction: function (name: any, type: any): any {
|
||||
console.log(`${name} ${type}`);
|
||||
updateDynamicRam("workForFaction", getRamCost("workForFaction"));
|
||||
checkSingularityAccess("workForFaction", 2);
|
||||
getFaction("workForFaction", name);
|
||||
|
||||
Reference in New Issue
Block a user