fileExists netscript function now works with txt files

This commit is contained in:
Tom Hunkapiller 2018-01-02 01:12:54 -06:00
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){