Initial implementation of BitNode-8: Ghost of Wall Street. Added TextFile.js to git. Added design for company management

This commit is contained in:
danielyxie
2017-10-20 16:59:54 -05:00
parent 153831afe9
commit 4ccad83e5e
8 changed files with 3614 additions and 2785 deletions
+1
View File
@@ -89,6 +89,7 @@ BitburnerSaveObject.prototype.saveGame = function(db) {
window.localStorage.setItem("bitburnerSave", saveString);
} catch(e) {
if (e.code == 22) {
Engine.createStatusText("Save failed for localStorage! Check console(F12)");
console.log("Failed to save game to localStorage because the size of the save file " +
"is too large. However, the game will still be saved to IndexedDb if your browser " +
"supports it. If you would like to save to localStorage as well, then " +