mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
BUGFIX: Fix order-of-ops issue with SCRIPT_32GB achievement (#422)
This commit is contained in:
parent
02a436dc79
commit
028d9f9462
@ -341,7 +341,7 @@ export const achievements: Record<string, Achievement> = {
|
|||||||
SCRIPT_32GB: {
|
SCRIPT_32GB: {
|
||||||
...achievementData["SCRIPT_32GB"],
|
...achievementData["SCRIPT_32GB"],
|
||||||
Icon: "bigcost",
|
Icon: "bigcost",
|
||||||
Condition: () => Player.getHomeComputer().scripts.some((s) => s.ramUsage ?? 0 >= 32),
|
Condition: () => Player.getHomeComputer().scripts.some((s) => (s.ramUsage ?? 0) >= 32),
|
||||||
},
|
},
|
||||||
FIRST_HACKNET_NODE: {
|
FIRST_HACKNET_NODE: {
|
||||||
...achievementData["FIRST_HACKNET_NODE"],
|
...achievementData["FIRST_HACKNET_NODE"],
|
||||||
|
Loading…
Reference in New Issue
Block a user