mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 11:43:50 +01:00
commit
8c2bfc32f8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -887,9 +887,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
|||||||
}
|
}
|
||||||
return !workerScript.disableLogs[fn];
|
return !workerScript.disableLogs[fn];
|
||||||
},
|
},
|
||||||
getScriptLogs: function (_fn: unknown, _hostname: unknown, ...scriptArgs: any[]): string[] {
|
getScriptLogs: function (fn: any, hostname: any, ...scriptArgs: any[]): string[] {
|
||||||
const fn = helper.string("getScriptLogs", "fn", _fn);
|
|
||||||
const hostname = helper.string("getScriptLogs", "hostname", _hostname);
|
|
||||||
updateDynamicRam("getScriptLogs", getRamCost(Player, "getScriptLogs"));
|
updateDynamicRam("getScriptLogs", getRamCost(Player, "getScriptLogs"));
|
||||||
const runningScriptObj = getRunningScript(fn, hostname, "getScriptLogs", scriptArgs);
|
const runningScriptObj = getRunningScript(fn, hostname, "getScriptLogs", scriptArgs);
|
||||||
if (runningScriptObj == null) {
|
if (runningScriptObj == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user