mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 01:23:49 +01:00
Dev branch always show changelog regardless of location
This commit is contained in:
parent
df237b0842
commit
6c730d46f4
@ -5,6 +5,7 @@
|
||||
*/
|
||||
export const CONSTANTS: {
|
||||
VersionString: string;
|
||||
isDevBranch: boolean;
|
||||
VersionNumber: number;
|
||||
MaxSkillLevel: number;
|
||||
MilliPerCycle: number;
|
||||
@ -88,6 +89,7 @@ export const CONSTANTS: {
|
||||
LatestUpdate: string;
|
||||
} = {
|
||||
VersionString: "2.3.0",
|
||||
isDevBranch: true,
|
||||
VersionNumber: 30,
|
||||
|
||||
/** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
||||
|
@ -794,7 +794,7 @@ function loadGame(saveString: string): boolean {
|
||||
try {
|
||||
const ver = JSON.parse(saveObj.VersionSave, Reviver);
|
||||
evaluateVersionCompatibility(ver);
|
||||
if (window.location.href.toLowerCase().includes("bitburner-src")) {
|
||||
if (CONSTANTS.isDevBranch) {
|
||||
// Beta branch, always show changes
|
||||
createBetaUpdateText();
|
||||
} else if (ver !== CONSTANTS.VersionNumber) {
|
||||
|
Loading…
Reference in New Issue
Block a user