mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Merge pull request #2667 from MartinFournier/fix/hash-cache-achievement
Add check for hash capacity > 0 for MAX_CACHE
This commit is contained in:
commit
4e5f05d269
@ -553,7 +553,9 @@ export const achievements: IMap<Achievement> = {
|
||||
...achievementData["MAX_CACHE"],
|
||||
Icon: "HASHNETCAP",
|
||||
Visible: () => hasAccessToSF(Player, 9),
|
||||
Condition: () => hasHacknetServers(Player) && Player.hashManager.hashes === Player.hashManager.capacity,
|
||||
Condition: () => hasHacknetServers(Player) &&
|
||||
Player.hashManager.hashes === Player.hashManager.capacity &&
|
||||
Player.hashManager.capacity > 0,
|
||||
},
|
||||
SLEEVE_8: {
|
||||
...achievementData["SLEEVE_8"],
|
||||
|
Loading…
Reference in New Issue
Block a user