mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +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;
|
||||
}
|
||||
}
|
||||
var txtFile = getTextFile(filename, server);
|
||||
if (txtFile !== null) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
isRunning : function(filename,ip){
|
||||
|
Loading…
Reference in New Issue
Block a user