Skip to content

Commit

Permalink
chore: last save
Browse files Browse the repository at this point in the history
  • Loading branch information
Mees committed Oct 21, 2024
1 parent b6a2dc7 commit eef84ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/OfflineSummary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ import { computed } from 'vue'
const gameStore = useGameStore()
const offlineTime = computed(() => {
return Date.now() - gameStore.previousSaveTime
return gameStore.lastSavedTime - gameStore.previousSaveTime
})
function closeOfflineSummary() {
gameStore.showOfflineSummary = false
}
</script>

0 comments on commit eef84ff

Please sign in to comment.