mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 08:13:50 +02:00
Initial implementation of BitNode-8: Ghost of Wall Street. Added TextFile.js to git. Added design for company management
This commit is contained in:
@@ -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 " +
|
||||
|
||||
Reference in New Issue
Block a user