mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
Merge pull request #170 from devoidfury/fileExists-txt
fileExists netscript function now works with txt files
This commit is contained in:
commit
8ad28908e8
@ -836,6 +836,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