mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 17:53:55 +01:00
fix getRunnignScript
This commit is contained in:
parent
f8e050ba26
commit
fdcd13c312
@ -2124,9 +2124,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
},
|
},
|
||||||
getRunningScript: function (_fn: unknown, _hostname: unknown, ...args: any[]): IRunningScriptDef | null {
|
getRunningScript: function (fn: any, hostname: any, ...args: any[]): IRunningScriptDef | null {
|
||||||
const fn = helper.string("getRunningScript", "fn", _fn);
|
|
||||||
const hostname = helper.string("getRunningScript", "hostname", _hostname);
|
|
||||||
updateDynamicRam("getRunningScript", getRamCost(Player, "getRunningScript"));
|
updateDynamicRam("getRunningScript", getRamCost(Player, "getRunningScript"));
|
||||||
|
|
||||||
let runningScript;
|
let runningScript;
|
||||||
|
Loading…
Reference in New Issue
Block a user