mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
save game now glows red if you dont have autosave enabled
This commit is contained in:
parent
49d081f42e
commit
a465db4e74
@ -570,6 +570,16 @@ let Engine = {
|
||||
overviewText += "<br>Int: " + (Player.intelligence).toLocaleString();
|
||||
}
|
||||
document.getElementById("character-overview-text").innerHTML = overviewText.replace( / /g, " ");
|
||||
|
||||
|
||||
|
||||
const save = document.getElementById("character-overview-save-button");
|
||||
const flashClass = "flashing-button";
|
||||
if(!Settings.AutosaveInterval) {
|
||||
save.classList.add(flashClass);
|
||||
} else {
|
||||
save.classList.remove(flashClass);
|
||||
}
|
||||
},
|
||||
|
||||
/* Display character info */
|
||||
|
Loading…
Reference in New Issue
Block a user