mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
fileExists netscript function now works with txt files
This commit is contained in:
parent
22e816a248
commit
5f52d31836
@ -828,6 +828,10 @@ function NetscriptFunctions(workerScript) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
var txtFile = getTextFile(filename, server);
|
||||||
|
if (txtFile !== null) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
isRunning : function(filename,ip){
|
isRunning : function(filename,ip){
|
||||||
|
Loading…
Reference in New Issue
Block a user