mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 17:53:55 +01:00
fix getScriptLogs
This commit is contained in:
parent
94d921512b
commit
b0281154fe
@ -887,9 +887,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
}
|
||||
return !workerScript.disableLogs[fn];
|
||||
},
|
||||
getScriptLogs: function (_fn: unknown, _hostname: unknown, ...scriptArgs: any[]): string[] {
|
||||
const fn = helper.string("getScriptLogs", "fn", _fn);
|
||||
const hostname = helper.string("getScriptLogs", "hostname", _hostname);
|
||||
getScriptLogs: function (fn: any, hostname: any, ...scriptArgs: any[]): string[] {
|
||||
updateDynamicRam("getScriptLogs", getRamCost(Player, "getScriptLogs"));
|
||||
const runningScriptObj = getRunningScript(fn, hostname, "getScriptLogs", scriptArgs);
|
||||
if (runningScriptObj == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user