mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: merge with remote games not updating local games correctly
This commit is contained in:
parent
6b31586734
commit
e4f1abaa5a
1 changed files with 4 additions and 2 deletions
|
@ -32,10 +32,12 @@ export const mergeWithRemoteGames = async () => {
|
||||||
{
|
{
|
||||||
objectID: game.objectId,
|
objectID: game.objectId,
|
||||||
shop: "steam",
|
shop: "steam",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
remoteId: game.id,
|
||||||
lastTimePlayed: updatedLastTimePlayed,
|
lastTimePlayed: updatedLastTimePlayed,
|
||||||
playTimeInMilliseconds: updatedPlayTime,
|
playTimeInMilliseconds: updatedPlayTime,
|
||||||
},
|
}
|
||||||
{ remoteId: game.id }
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
const steamGame = await steamGamesWorker.run(Number(game.objectId), {
|
const steamGame = await steamGamesWorker.run(Number(game.objectId), {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue