mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-26 17:31:43 +02:00
Fix rocket animation not showing in Remote Play
This commit is contained in:
6
dist/better-xcloud.user.js
vendored
6
dist/better-xcloud.user.js
vendored
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user