mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-02 04:23:48 +01:00
Merge pull request #2459 from MartinFournier/fix/max-cache-achievement
Add check for hash capacity > 0 for MAX_CACHE
This commit is contained in:
commit
8cb7c9b460
@ -274,7 +274,9 @@ const achievements: Achievement[] = [
|
|||||||
{ ID: "HACKNET_SERVER_1B", Condition: () => hasHacknetServers(Player) && Player.moneySourceB.hacknet >= 1e9 },
|
{ ID: "HACKNET_SERVER_1B", Condition: () => hasHacknetServers(Player) && Player.moneySourceB.hacknet >= 1e9 },
|
||||||
{
|
{
|
||||||
ID: "MAX_CACHE",
|
ID: "MAX_CACHE",
|
||||||
Condition: () => hasHacknetServers(Player) && Player.hashManager.hashes === Player.hashManager.capacity,
|
Condition: () => hasHacknetServers(Player) &&
|
||||||
|
Player.hashManager.hashes === Player.hashManager.capacity &&
|
||||||
|
Player.hashManager.capacity > 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
ID: "SLEEVE_8",
|
ID: "SLEEVE_8",
|
||||||
|
Loading…
Reference in New Issue
Block a user