mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 08:13:50 +02:00
Implemented Hack and sleep in script. IMplemented functionality that allows scripts to stop (rejecting the Promises). Scripts will now automatically stop if they are not infinite. THIS IS UNTESTED TEST THIS WHEN I CAN. Still need to implement kill command
This commit is contained in:
@@ -36,7 +36,6 @@ Reviver.constructors = {}; // A list of constructors the smart reviver should kn
|
||||
function Generic_toJSON(ctorName, obj, keys) {
|
||||
var data, index, key;
|
||||
|
||||
console.log("Generic_toJSON() called");
|
||||
if (!keys) {
|
||||
keys = Object.keys(obj); // Only "own" properties are included
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user