File tree 2 files changed +7
-2
lines changed
backend/storeManagers/gog
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -622,7 +622,12 @@ export async function gogToUnifiedInfo(
622
622
info : GamesDBData | undefined ,
623
623
galaxyProductInfo : ProductsEndpointData | undefined
624
624
) : Promise < GameInfo > {
625
- if ( ! info || info . type !== 'game' || ! info . game . visible_in_library ) {
625
+ if (
626
+ ! info ||
627
+ info . type !== 'game' ||
628
+ ! info . game . visible_in_library ||
629
+ ( galaxyProductInfo && galaxyProductInfo . game_type === 'pack' )
630
+ ) {
626
631
// @ts -expect-error TODO: Handle this somehow
627
632
return { }
628
633
}
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ export interface ProductsEndpointData {
361
361
}
362
362
is_secret: boolean
363
363
is_installable: boolean
364
- game_type: 'game' | 'dlc' | 'spam '
364
+ game_type: 'game' | 'dlc' | 'pack '
365
365
is_pre_order: boolean
366
366
release_date: string
367
367
images: {
You can’t perform that action at this time.
0 commit comments