From a0a290e4817d73ab24a0602913c57844356d2ca1 Mon Sep 17 00:00:00 2001
From: Fabian Dill <Berserker66@users.noreply.github.com>
Date: Fri, 1 Apr 2022 07:17:26 +0200
Subject: [PATCH] Setup: fix OoT conditions for file page (#381)

---
 inno_setup.iss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inno_setup.iss b/inno_setup.iss
index fe89e679..b1f18229 100644
--- a/inno_setup.iss
+++ b/inno_setup.iss
@@ -382,5 +382,5 @@ begin
   if (assigned(SoEROMFilePage)) and (PageID = SoEROMFilePage.ID) then
     Result := not (WizardIsComponentSelected('generator/soe'));
   if (assigned(OoTROMFilePage)) and (PageID = OoTROMFilePage.ID) then
-    Result := not (WizardIsComponentSelected('generator/oot'));
+    Result := not (WizardIsComponentSelected('generator/oot') or WizardIsComponentSelected('client/oot'));
 end;
\ No newline at end of file