mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Fix typo when calling Response.clone() (#361)
This commit is contained in:
parent
ec6c3fc8a3
commit
1cb4038abf
@ -10469,7 +10469,7 @@ function interceptHttpRequests() {
|
||||
if (PREF_UI_LOADING_SCREEN_WAIT_TIME && url.includes('xboxlive.com') && url.includes('/waittime/')) {
|
||||
const response = await NATIVE_FETCH(...arg);
|
||||
|
||||
const json = await response.clone.json();
|
||||
const json = await response.clone().json();
|
||||
if (json.estimatedAllocationTimeInSeconds > 0) {
|
||||
// Setup wait time overlay
|
||||
LoadingScreen.setupWaitTime(json.estimatedTotalWaitTimeInSeconds);
|
||||
|
Loading…
x
Reference in New Issue
Block a user