mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
allbuild commit 432c8dd2
This commit is contained in:
parent
432c8dd206
commit
8812451a32
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1709,7 +1709,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
const txtFile = getTextFile(filename, server);
|
||||
return txtFile != null;
|
||||
},
|
||||
isRunning: function (fn: any, _hostname: any = workerScript.hostname, ...scriptArgs: any[]): boolean {
|
||||
isRunning: function (fn: any, hostname: any = workerScript.hostname, ...scriptArgs: any[]): boolean {
|
||||
updateDynamicRam("isRunning", getRamCost(Player, "isRunning"));
|
||||
if (fn === undefined || hostname === undefined) {
|
||||
throw makeRuntimeErrorMsg("isRunning", "Usage: isRunning(scriptname, server, [arg1], [arg2]...)");
|
||||
|
Loading…
Reference in New Issue
Block a user