mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-02 12:33:56 +01:00
commit
bccf4e772c
2
dist/main.bundle.js
vendored
2
dist/main.bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/main.bundle.js.map
vendored
2
dist/main.bundle.js.map
vendored
File diff suppressed because one or more lines are too long
@ -89,7 +89,7 @@ export const CONSTANTS: {
|
|||||||
LatestUpdate: string;
|
LatestUpdate: string;
|
||||||
} = {
|
} = {
|
||||||
VersionString: "2.0.1",
|
VersionString: "2.0.1",
|
||||||
VersionNumber: 23,
|
VersionNumber: 24,
|
||||||
|
|
||||||
// Speed (in ms) at which the main loop is updated
|
// Speed (in ms) at which the main loop is updated
|
||||||
_idleSpeed: 200,
|
_idleSpeed: 200,
|
||||||
|
@ -36,6 +36,7 @@ import { Faction } from "./Faction/Faction";
|
|||||||
import { safetlyCreateUniqueServer } from "./Server/ServerHelpers";
|
import { safetlyCreateUniqueServer } from "./Server/ServerHelpers";
|
||||||
import { SpecialServers } from "./Server/data/SpecialServers";
|
import { SpecialServers } from "./Server/data/SpecialServers";
|
||||||
import { v2APIBreak } from "./utils/v2APIBreak";
|
import { v2APIBreak } from "./utils/v2APIBreak";
|
||||||
|
import { Script } from "./Script/Script";
|
||||||
|
|
||||||
/* SaveObject.js
|
/* SaveObject.js
|
||||||
* Defines the object used to save/load games
|
* Defines the object used to save/load games
|
||||||
@ -490,6 +491,9 @@ function evaluateVersionCompatibility(ver: string | number): void {
|
|||||||
if (ver < 23) {
|
if (ver < 23) {
|
||||||
anyPlayer.currentWork = null;
|
anyPlayer.currentWork = null;
|
||||||
}
|
}
|
||||||
|
if (ver < 24) {
|
||||||
|
Player.getHomeComputer().scripts.forEach((s) => s.filename.endsWith(".ns") && (s.filename += ".js"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user