From 3325f75ac334bebc2e593a592e86ed878184478b Mon Sep 17 00:00:00 2001 From: TheNexusAvenger <13441476+TheNexusAvenger@users.noreply.github.com> Date: Tue, 31 Aug 2021 14:29:10 -0400 Subject: [PATCH] Fix pre-launch patches running when not installed. --- NLUL.Core/Client/ClientRunner.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NLUL.Core/Client/ClientRunner.cs b/NLUL.Core/Client/ClientRunner.cs index 3ca750e..5d6ebf3 100644 --- a/NLUL.Core/Client/ClientRunner.cs +++ b/NLUL.Core/Client/ClientRunner.cs @@ -225,6 +225,7 @@ public Process Launch(string host) { if (patch is IPreLaunchPatch preLaunchPatch) { + if (!patch.Installed) continue; preLaunchPatch.OnClientRequestLaunch(); } }