mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 01:03:50 +02:00
Fix instance info disabled content settings & VR overlay warning
This commit is contained in:
11
src/app.js
11
src/app.js
@@ -1195,13 +1195,14 @@ console.log(`isLinux: ${LINUX}`);
|
||||
}
|
||||
ref.$disabledContentSettings = [];
|
||||
if (json.contentSettings && Object.keys(json.contentSettings).length) {
|
||||
for (var setting in $app.instanceContentSettings) {
|
||||
if (json.contentSettings[setting]) {
|
||||
for (var setting of $app.instanceContentSettings) {
|
||||
if (
|
||||
typeof json.contentSettings[setting] === 'undefined' ||
|
||||
json.contentSettings[setting] === true
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
ref.$disabledContentSettings.push(
|
||||
$app.instanceContentSettings[setting]
|
||||
);
|
||||
ref.$disabledContentSettings.push(setting);
|
||||
}
|
||||
}
|
||||
return ref;
|
||||
|
||||
Reference in New Issue
Block a user