Skip to content

Commit aa22042

Browse files
committed
Allow only one click.
1 parent 9397e6f commit aa22042

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/QuestAppVersionSwitcher/bin
22
/QuestAppVersionSwitcher/obj
33
/.idea
4-
/.vs
4+
/.vs
5+
/.vscode

QuestAppVersionSwitcher/Assets/html/flows/beat_saber_modding.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,11 @@ <h2>Upload logs</h2>
607607
}
608608

609609
var patchReport = {}
610+
var isInstallingCores = false;
610611

611612
function InstallCoreModsAndGetMods() {
613+
if (isInstallingCores) return;
614+
isInstallingCores = true;
612615
UpdateModdedStatus().then(res => {
613616
fetch(`https://raw.githubusercontent.com/QuestPackageManager/bs-coremods/main/core_mods.json?${new Date().getTime()}`).then(res => {
614617
if (!res.ok) {

0 commit comments

Comments
 (0)