mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 20:58:27 +02:00
Bug fixes
This commit is contained in:
@@ -42,7 +42,7 @@ export function deepClone(obj: any): any {
|
||||
}
|
||||
|
||||
if (!obj) {
|
||||
return obj;
|
||||
return {};
|
||||
}
|
||||
|
||||
return JSON.parse(JSON.stringify(obj));
|
||||
|
@@ -446,7 +446,7 @@ class XcloudInterceptor {
|
||||
|
||||
let overrideMkb: boolean | null = null;
|
||||
|
||||
if (getPref(PrefKey.NATIVE_MKB_ENABLED) === 'on' || BX_FLAGS.ForceNativeMkbTitles?.includes(STATES.currentStream.titleInfo!.details.productId)) {
|
||||
if (getPref(PrefKey.NATIVE_MKB_ENABLED) === 'on' || (STATES.currentStream.titleInfo && BX_FLAGS.ForceNativeMkbTitles?.includes(STATES.currentStream.titleInfo.details.productId))) {
|
||||
overrideMkb = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user