fix disableLog issue

This commit is contained in:
Olivier Gagnon 2021-09-04 14:51:50 -04:00
parent 69ec6f6679
commit 0ad05c7bad

@ -943,7 +943,7 @@ function NetscriptFunctions(workerScript) {
workerScript.scriptRef.clearLog(); workerScript.scriptRef.clearLog();
}, },
disableLog: function(fn) { disableLog: function(fn) {
if (fn = "ALL") { if (fn === "ALL") {
for (fn in possibleLogs) { for (fn in possibleLogs) {
workerScript.disableLogs[fn] = true; workerScript.disableLogs[fn] = true;
} }