Skip to content

Commit

Permalink
[Fix] Wait for legendary refresh to finish before storing array (#3452)
Browse files Browse the repository at this point in the history
Wait for legendary refresh to finish before storing array
  • Loading branch information
arielj authored Jan 21, 2024
1 parent fc212b9 commit 2665aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/storeManagers/legendary/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export async function refresh(): Promise<ExecResult | null> {
return defaultExecResult
}

refreshLegendary()
await refreshLegendary()
loadGamesInAccount()
refreshInstalled()

Expand Down

0 comments on commit 2665aed

Please sign in to comment.