Merge pull request #814 from danielyxie/dev

0.49.1 fix ns.print
This commit is contained in:
hydroflame
2021-03-11 20:47:46 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -864,7 +864,7 @@ function NetscriptFunctions(workerScript) {
if (args === undefined) {
throw makeRuntimeErrorMsg("print", "Takes 1 argument.");
}
workerScript.print("print", args.toString());
workerScript.print(args.toString());
},
tprint: function(args) {
if (args === undefined || args == null) {