mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 11:27:04 +02:00
Refactored Main Menu UI implementation. Fixed several bugs related to recent JS -> TypeScript refactors
This commit is contained in:
+2
-2
@@ -153,8 +153,8 @@ function evaluateVersionCompatibility(ver) {
|
||||
}
|
||||
|
||||
// This version allowed players to hold multiple jobs
|
||||
if (ver <= "0.43.0") {
|
||||
if (Player.companyName !== "" && Player.companyPosition !== "") {
|
||||
if (ver < "0.43.0") {
|
||||
if (Player.companyName !== "" && Player.companyPosition != null && Player.companyPosition !== "") {
|
||||
console.log("Copied player's companyName and companyPosition properties to the Player.jobs map for v0.43.0");
|
||||
Player.jobs[Player.companyName] = Player.companyPosition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user