mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-22 16:23:50 +02:00
Stop auto cache when joining world
This commit is contained in:
@@ -7440,7 +7440,8 @@ speechSynthesis.getVoices();
|
||||
this.addGameLogEntry(gameLog, this.lastLocation.location, pushToTable);
|
||||
};
|
||||
|
||||
$app.lastLocationDestinationTime = 0;
|
||||
$app.data.lastLocationDestination = '';
|
||||
$app.data.lastLocationDestinationTime = 0;
|
||||
|
||||
$app.methods.addGameLogEntry = function (gameLog, location, pushToTable) {
|
||||
var userId = '';
|
||||
@@ -7458,6 +7459,7 @@ speechSynthesis.getVoices();
|
||||
this.cancelVRChatCacheDownload(gameLog.location);
|
||||
this.clearNowPlaying();
|
||||
}
|
||||
this.lastLocationDestination = gameLog.location;
|
||||
this.lastLocationDestinationTime = Date.parse(gameLog.dt);
|
||||
var entry = {
|
||||
created_at: gameLog.dt,
|
||||
@@ -14610,7 +14612,7 @@ speechSynthesis.getVoices();
|
||||
return;
|
||||
}
|
||||
if (
|
||||
this.downloadCurrent.type !== 'Auto' ||
|
||||
this.downloadCurrent.type !== 'Auto' &&
|
||||
!this.cacheAutoDownloadHistory.has(assetUrl)
|
||||
) {
|
||||
this.cacheAutoDownloadHistory.add(assetUrl);
|
||||
@@ -14740,7 +14742,8 @@ speechSynthesis.getVoices();
|
||||
if (
|
||||
!L.worldId ||
|
||||
this.downloadQueue.has(L.worldId) ||
|
||||
this.downloadCurrent.id === L.worldId
|
||||
this.downloadCurrent.id === L.worldId ||
|
||||
this.lastLocationDestination === location
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user