mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-30 04:03:48 +02:00
handling of offline:offline
This commit is contained in:
@@ -772,7 +772,7 @@ speechSynthesis.getVoices();
|
|||||||
canRequestInvite: false,
|
canRequestInvite: false,
|
||||||
strict: false
|
strict: false
|
||||||
};
|
};
|
||||||
if (_tag === 'offline') {
|
if (_tag === 'offline' || _tag === 'offline:offline') {
|
||||||
ctx.isOffline = true;
|
ctx.isOffline = true;
|
||||||
} else if (_tag === 'private') {
|
} else if (_tag === 'private') {
|
||||||
ctx.isPrivate = true;
|
ctx.isPrivate = true;
|
||||||
@@ -27417,6 +27417,7 @@ speechSynthesis.getVoices();
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
switch (instanceId) {
|
switch (instanceId) {
|
||||||
|
case 'offline:offline':
|
||||||
case 'offline':
|
case 'offline':
|
||||||
case 'private':
|
case 'private':
|
||||||
case 'traveling':
|
case 'traveling':
|
||||||
@@ -27497,6 +27498,10 @@ speechSynthesis.getVoices();
|
|||||||
this.updateCurrentUserLocation();
|
this.updateCurrentUserLocation();
|
||||||
|
|
||||||
// janky gameLog support for Quest
|
// janky gameLog support for Quest
|
||||||
|
if (this.isGameRunning) {
|
||||||
|
// with the current state of things, lets not run this if we don't need to
|
||||||
|
return;
|
||||||
|
}
|
||||||
var lastLocation = '';
|
var lastLocation = '';
|
||||||
for (var i = this.gameLogSessionTable.length - 1; i > -1; i--) {
|
for (var i = this.gameLogSessionTable.length - 1; i > -1; i--) {
|
||||||
var item = this.gameLogSessionTable[i];
|
var item = this.gameLogSessionTable[i];
|
||||||
|
|||||||
@@ -263,7 +263,7 @@ Vue.component('marquee-text', MarqueeText);
|
|||||||
canRequestInvite: false,
|
canRequestInvite: false,
|
||||||
strict: false
|
strict: false
|
||||||
};
|
};
|
||||||
if (_tag === 'offline') {
|
if (_tag === 'offline' || _tag === 'offline:offline') {
|
||||||
ctx.isOffline = true;
|
ctx.isOffline = true;
|
||||||
} else if (_tag === 'private') {
|
} else if (_tag === 'private') {
|
||||||
ctx.isPrivate = true;
|
ctx.isPrivate = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user