Make VRCX update rate uniform (#892)

This commit is contained in:
Usman Shafiq
2024-09-01 04:39:11 -04:00
committed by GitHub
parent 8c4e4af075
commit c0401eca24

View File

@@ -5787,11 +5787,7 @@ speechSynthesis.getVoices();
AppApi.CheckGameRunning();
}
if (--this.nextAppUpdateCheck <= 0) {
if (this.branch === 'Stable') {
this.nextAppUpdateCheck = 14400; // 2hours
} else {
this.nextAppUpdateCheck = 7200; // 1hour
}
this.nextAppUpdateCheck = 7200; // 1hour
if (this.autoUpdateVRCX !== 'Off') {
this.checkForVRCXUpdate();
}