HASHNET: Company Favor (#469)

This commit is contained in:
T.J. Eckman
2023-04-08 23:24:09 -04:00
committed by GitHub
parent ed9e6d5ea3
commit 751fe82f92
6 changed files with 94 additions and 3 deletions
+3
View File
@@ -657,6 +657,9 @@ function evaluateVersionCompatibility(ver: string | number): void {
// Prior to v2.2.0, sleeve shock was 0 to 100 internally but displayed as 100 to 0. This unifies them as 100 to 0.
for (const sleeve of Player.sleeves) sleeve.shock = 100 - sleeve.shock;
}
if (anyPlayer.hashManager !== undefined) {
anyPlayer.hashManager.upgrades["Company Favor"] ??= 0;
}
}
function loadGame(saveString: string): boolean {