mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
Small changes
This commit is contained in:
@@ -73,7 +73,11 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
|
||||
state.nextFriendsRefresh = 3600; // 1hour
|
||||
friendStore.refreshFriendsList();
|
||||
authStore.updateStoredUser(userStore.currentUser);
|
||||
if (gameStore.isGameRunning) {
|
||||
if (
|
||||
userStore.currentUser.last_activity &&
|
||||
new Date(userStore.currentUser.last_activity) >
|
||||
new Date(Date.now() - 3600 * 1000) // 1hour
|
||||
) {
|
||||
moderationStore.refreshPlayerModerations();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user