This commit is contained in:
TrèsAbhi authored and GitHub committed 2026-06-23 10:26:05 -05:00
1 parent 55deb30607
commit a8e8d20cf1
1 file changed
+4 -2
+4 -2
View File
@@ -24,7 +24,10 @@ while (true) {
)}/dlc/s${currentVersion}_${patchIndex}.yaml`,
);
if (response.status === 200) {
console.log(patchIndex, response.status)
if (!response.ok) break;
console.log(`Applying patch ${patchIndex}...`);
const data = parseYaml(await response.text());
@@ -97,5 +100,4 @@ while (true) {
}
patchIndex++;
} else break;
}