Fix rocket animation not showing in Remote Play

This commit is contained in:
redphx
2024-04-28 10:30:50 +07:00
parent e2806fea68
commit c9bc93f604
2 changed files with 3 additions and 13 deletions

View File

@ -9647,7 +9647,6 @@ var clearDbLogs = function(dbName, table) {
console.log(`[Better xCloud] Cleared ${dbName}.${table}`);
};
} catch (ex) {
console.log(ex);
}
};
};
@ -9770,14 +9769,11 @@ function interceptHttpRequests() {
BxEvent.dispatch(window, BxEvent.STREAM_STARTING);
}
let requestType;
if (STATES.remotePlay.isPlaying || url.includes("/sessions/home") || url.includes("xhome.")) {
if (url.includes("/sessions/home") || url.includes("xhome.") || STATES.remotePlay.isPlaying && url.endsWith("/inputconfigs")) {
requestType = RequestType.XHOME;
} else {
requestType = RequestType.XCLOUD;
}
if (url.includes(".gamepass.com")) {
requestType = RequestType.XCLOUD;
}
if (requestType === RequestType.XHOME) {
return XhomeInterceptor.handle(request);
}