This commit is contained in:
Olivier Gagnon
2021-11-09 23:57:44 -05:00
5 changed files with 17 additions and 10 deletions
+12 -6
View File
@@ -312,7 +312,6 @@ function loadGame(saveString: string): boolean {
try {
const ver = JSON.parse(saveObj.VersionSave, Reviver);
evaluateVersionCompatibility(ver);
if (window.location.href.toLowerCase().includes("bitburner-beta")) {
// Beta branch, always show changes
createBetaUpdateText();
@@ -328,15 +327,22 @@ function loadGame(saveString: string): boolean {
createNewUpdateText();
}
createNewUpdateText();
createNewUpdateText();
createNewUpdateText();
return true;
}
function createNewUpdateText(): void {
dialogBoxCreate(
"New update!<br>" +
"Please report any bugs/issues through the github repository " +
"or the Bitburner subreddit (reddit.com/r/bitburner).<br><br>" +
CONSTANTS.LatestUpdate,
setTimeout(
() =>
dialogBoxCreate(
"New update!<br>" +
"Please report any bugs/issues through the github repository " +
"or the Bitburner subreddit (reddit.com/r/bitburner).<br><br>" +
CONSTANTS.LatestUpdate,
),
1000,
);
}