mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Merge pull request #389 from hydroflame/red-save
Save Game is red when autosave is disabled.
This commit is contained in:
commit
ab0f7ea4f1
@ -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