Skip to content

Commit

Permalink
disable steam patch middleware from listening to currentGameInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
aarron-lee committed Jan 21, 2024
1 parent ffc52b7 commit b19c30b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/redux-modules/steamPatchMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ export const steamPatchMiddleware =
}
}

if (action.type === setCurrentGameInfo.type) {
if (steamPatchEnabled) {
// if (steamPatchProfile?.tdp) {
// setSteamPatchTDP(steamPatchProfile.tdp);
// }
// get steam perf settings when currentGameId changes
getSteamPerfSettings();
}
}
// if (action.type === setCurrentGameInfo.type) {
// if (steamPatchEnabled) {
// // if (steamPatchProfile?.tdp) {
// // setSteamPatchTDP(steamPatchProfile.tdp);
// // }
// // get steam perf settings when currentGameId changes
// getSteamPerfSettings();
// }
// }

if (saveToBackendTypes.includes(action.type)) {
saveSteamPatchTdpProfiles(state.settings.tdpProfiles, advancedState);
Expand Down

0 comments on commit b19c30b

Please sign in to comment.