mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 07:43:50 +02:00
Bug fixes
This commit is contained in:
@@ -4130,11 +4130,11 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
this.lastLocationReset();
|
||||
this.clearNowPlaying();
|
||||
this.updateVRConfigVars();
|
||||
this.updateVRLastLocation();
|
||||
}
|
||||
if (isGameNoVR !== this.isGameNoVR) {
|
||||
this.isGameNoVR = isGameNoVR;
|
||||
this.updateVRConfigVars();
|
||||
this.updateVRLastLocation();
|
||||
}
|
||||
if (isSteamVRRunning !== this.isSteamVRRunning) {
|
||||
this.isSteamVRRunning = isSteamVRRunning;
|
||||
@@ -6044,10 +6044,11 @@ speechSynthesis.getVoices();
|
||||
var ref = this.friends.get(id);
|
||||
if (ref) {
|
||||
ref.memo = String(memo || '');
|
||||
ref.$nickName = '';
|
||||
if (memo) {
|
||||
var array = memo.split('\n');
|
||||
ref.$nickName = array[0];
|
||||
} else {
|
||||
ref.$nickName = '';
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -7545,6 +7546,10 @@ speechSynthesis.getVoices();
|
||||
) {
|
||||
return;
|
||||
}
|
||||
if (entry.type === 'VideoPlay') {
|
||||
// event time can be before last gameLog entry
|
||||
this.updateSharedFeed(true);
|
||||
}
|
||||
this.gameLogTable.data.push(entry);
|
||||
this.sweepGameLog();
|
||||
this.updateSharedFeed(false);
|
||||
@@ -7713,7 +7718,7 @@ speechSynthesis.getVoices();
|
||||
gameLog.userDisplayName
|
||||
);
|
||||
if (typeof ref !== 'undefined') {
|
||||
time = new Date().getTime() - ref.joinTime;
|
||||
time = Date.now() - ref.joinTime;
|
||||
this.lastLocation.playerList.delete(
|
||||
gameLog.userDisplayName
|
||||
);
|
||||
@@ -7748,7 +7753,8 @@ speechSynthesis.getVoices();
|
||||
this.addGameLogVideo(gameLog, location, userId, pushToTable);
|
||||
return;
|
||||
case 'api-request':
|
||||
if (!this.isGameRunning) {
|
||||
var bias = Date.parse(gameLog.dt) + 60 * 1000;
|
||||
if (!this.isGameRunning || bias < Date.now()) {
|
||||
return;
|
||||
}
|
||||
var userId = '';
|
||||
@@ -9834,7 +9840,10 @@ speechSynthesis.getVoices();
|
||||
);
|
||||
|
||||
var downloadProgressStateChange = function () {
|
||||
this.updateVRConfigVars();
|
||||
AppApi.ExecuteVrFeedFunction(
|
||||
'updateDownloadProgress',
|
||||
`${$app.downloadProgress}`
|
||||
);
|
||||
};
|
||||
$app.watch.downloadProgress = downloadProgressStateChange;
|
||||
|
||||
@@ -9865,9 +9874,6 @@ speechSynthesis.getVoices();
|
||||
notificationTimeout: this.notificationTimeout,
|
||||
notificationTheme,
|
||||
backgroundEnabled: this.vrBackgroundEnabled,
|
||||
isGameRunning: this.isGameRunning,
|
||||
isGameNoVR: this.isGameNoVR,
|
||||
downloadProgress: this.downloadProgress,
|
||||
progressPie
|
||||
};
|
||||
var json = JSON.stringify(VRConfigVars);
|
||||
@@ -9876,7 +9882,6 @@ speechSynthesis.getVoices();
|
||||
};
|
||||
|
||||
$app.methods.updateVRLastLocation = function () {
|
||||
this.updateVRConfigVars();
|
||||
var lastLocation = {
|
||||
date: this.lastLocation.date,
|
||||
location: this.lastLocation.location,
|
||||
@@ -10655,10 +10660,11 @@ speechSynthesis.getVoices();
|
||||
var ref = this.friends.get(userId);
|
||||
if (ref) {
|
||||
ref.memo = String(memo || '');
|
||||
ref.$nickName = '';
|
||||
if (memo) {
|
||||
var array = memo.split('\n');
|
||||
ref.$nickName = array[0];
|
||||
} else {
|
||||
ref.$nickName = '';
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -12521,7 +12527,7 @@ speechSynthesis.getVoices();
|
||||
|
||||
$app.methods.saveSetWorldTagsDialog = function () {
|
||||
var D = this.setWorldTagsDialog;
|
||||
var oldTags = D.tags.split(',');;
|
||||
var oldTags = D.tags.split(',');
|
||||
var tags = [];
|
||||
oldTags.forEach((tag) => {
|
||||
if (tag) {
|
||||
@@ -15223,7 +15229,7 @@ speechSynthesis.getVoices();
|
||||
return;
|
||||
}
|
||||
if (
|
||||
this.downloadCurrent.type !== 'Auto' &&
|
||||
this.downloadCurrent.type !== 'Auto' ||
|
||||
!this.cacheAutoDownloadHistory.has(assetUrl)
|
||||
) {
|
||||
this.cacheAutoDownloadHistory.add(assetUrl);
|
||||
|
||||
Reference in New Issue
Block a user