Skip to content

Commit

Permalink
hotfix: fix call to getUnlockableById in planning (#299)
Browse files Browse the repository at this point in the history
* hotfix: fix call to getUnlockableById in planning

* hotfix: reformatted using prettier
  • Loading branch information
jorys-paulin authored Jul 15, 2023
1 parent b20ce67 commit c3ba424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menus/planning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,12 @@ export async function planningView(
getFlag("enableMasteryProgression")
) {
const loadoutUnlockable = getUnlockableById(
req.gameVersion,
req.gameVersion === "h1"
? sublocation?.Properties?.NormalLoadoutUnlock[
contractData.Metadata.Difficulty ?? "normal"
]
: sublocation?.Properties?.NormalLoadoutUnlock,
req.gameVersion,
)

if (loadoutUnlockable) {
Expand Down

0 comments on commit c3ba424

Please sign in to comment.