HyperPlay-Gaming / hyperplay-desktop-client

The HyperPlay desktop app
https://hyperplay.xyz
GNU General Public License v3.0
79 stars 31 forks source link

[FIX] Update Game status after finishing playing and not logged in #1162

Closed flavioislima closed 3 days ago

flavioislima commented 1 week ago

Fix an issue where the game status won't change after finishing playing and the player is not logged in on HyperPlay. The issue was because it was getting stuck on the syncPlaySession method and was never triggering the gameStatusUpdate with the done status.

Moved this one to be above the playtime and also added some try/catch to the sync methods.


Use the following Checklist if you have changed something on the Backend or Frontend:

BrettCleary commented 3 days ago

opened back up this comment btw https://github.com/HyperPlay-Gaming/hyperplay-desktop-client/pull/1162#discussion_r1855877976