mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Beta branch now always shows update when opening game
This commit is contained in:
parent
2b21e93a14
commit
523bfc18d1
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -212,7 +212,10 @@ function loadGame(saveString) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ver != CONSTANTS.Version) {
|
||||
if (window.location.href.toLowerCase().includes("bitburner-beta")) {
|
||||
//Beta branch, always show changes
|
||||
createBetaUpdateText();
|
||||
} else if (ver != CONSTANTS.Version) {
|
||||
createNewUpdateText();
|
||||
}
|
||||
} catch(e) {
|
||||
@ -588,6 +591,14 @@ function createNewUpdateText() {
|
||||
CONSTANTS.LatestUpdate);
|
||||
}
|
||||
|
||||
function createBetaUpdateText() {
|
||||
dialogBoxCreate("You are playing on the beta environment! This branch of the game " +
|
||||
"features the latest developments in the game. The game may have bugs.<br>" +
|
||||
"Please report any bugs/issues through the github repository " +
|
||||
"or the Bitburner subreddit (reddit.com/r/bitburner).<br><br>" +
|
||||
CONSTANTS.LatestUpdate);
|
||||
}
|
||||
|
||||
|
||||
BitburnerSaveObject.prototype.toJSON = function() {
|
||||
return Generic_toJSON("BitburnerSaveObject", this);
|
||||
|
Loading…
Reference in New Issue
Block a user