Merge pull request #321 from hydralauncher/fix/playtime-not-showing-on-ui

fix: playtime not showing on UI
This commit is contained in:
Hydra 2024-05-12 17:14:07 +01:00 committed by GitHub
commit 53f0de945c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,7 +106,7 @@ export function HeroPanel({
);
}
if (game && GameStatusHelper.isReady(game?.status ?? null)) {
if (game && GameStatusHelper.isReady(game?.status ?? GameStatus.Finished)) {
return <HeroPanelPlaytime game={game} isGamePlaying={isGamePlaying} />;
}