From a8e8d20cf1d47494b3c139d0997e790c99eeb5a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Tue, 23 Jun 2026 10:26:05 -0500 Subject: [PATCH] break --- packages/scripts/src/applyPatches.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/scripts/src/applyPatches.ts b/packages/scripts/src/applyPatches.ts index 9d6ed046c..7f39d68c3 100644 --- a/packages/scripts/src/applyPatches.ts +++ b/packages/scripts/src/applyPatches.ts @@ -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; }