mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 01:03:01 +02:00
Stock Market rebalancing. Change visibility to display for changing UI. More work on company management
This commit is contained in:
@@ -172,7 +172,12 @@ function evaluate(exp, workerScript) {
|
||||
}
|
||||
return Promise.resolve(object[index]);
|
||||
}).catch(function(e) {
|
||||
return Promise.reject(makeRuntimeRejectMsg(workerScript, "Invalid MemberExpression"));
|
||||
if (e instanceof WorkerScript || isScriptErrorMessage(e)) {
|
||||
return Promise.reject(e);
|
||||
} else {
|
||||
return Promise.reject(makeRuntimeRejectMsg(workerScript, "Invalid MemberExpression"));
|
||||
}
|
||||
|
||||
});
|
||||
} else {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user