diff --git a/html/src/app.js b/html/src/app.js index 1b24ee59..68c0fc0a 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -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; } diff --git a/html/src/index.pug b/html/src/index.pug index af091f23..462b4ec0 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -186,7 +186,7 @@ html el-select(v-model="gameLogTable.filters[0].value" @change="saveTableFilters" multiple clearable collapse-tags style="flex:1" placeholder="Filter") el-option(v-once v-for="type in ['Location', 'OnPlayerJoined', 'OnPlayerLeft', 'PortalSpawn', 'AvatarChange', 'Event', 'VideoPlay']" :key="type" :label="type" :value="type") el-input(v-model="gameLogTable.filters[1].value" placeholder="Search" style="flex:none;width:150px;margin:0 10px") - el-tooltip(placement="bottom" content="Reset game log" :disabled="hideTooltips") + el-tooltip(placement="bottom" content="Reload game log" :disabled="hideTooltips") el-button(type="default" @click="refreshEntireGameLog" icon="el-icon-refresh" circle style="flex:none") el-table-column(label="Date" prop="created_at" sortable="custom" width="90") template(v-once #default="scope")