ma3a / SDH-PlayTime

Other
49 stars 5 forks source link

Fixed playtime not updating after quitting the game #71

Open SilentException opened 1 week ago

SilentException commented 1 week ago

OnAppOverviewChange expects a different kind of list and the commented call will fail with error in console. It doesn't need to be called either as the handler creates AppInfo objects excluding non-Steam games. The overridden m_mapApps setter will handle everything for us.

This fixes appid() is not a function error in console after quitting a game (when playtime is supposed to be updated) + now the window is instantly updated with new (changed) playtime, as it should be.

SilentException commented 2 days ago

SDH-PlayTime-1.0.2-rs2.zip Adding test build ZIP for manual installation for brave souls. Just as the last time, use this at your own risk. I assume no responsibility for any issues and do not ask for support from plugin author or Decky Loader team.