From 370e7a0c851d9bc57fcdcc447a491b276f8ec5a5 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 26 Jul 2024 09:16:18 +0100 Subject: [PATCH] Fixed local builds not checking core dll correctly --- project/SPT.Launcher.Base/Controllers/GameStarter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/SPT.Launcher.Base/Controllers/GameStarter.cs b/project/SPT.Launcher.Base/Controllers/GameStarter.cs index 9903c14..b7de686 100644 --- a/project/SPT.Launcher.Base/Controllers/GameStarter.cs +++ b/project/SPT.Launcher.Base/Controllers/GameStarter.cs @@ -223,7 +223,7 @@ namespace SPT.Launcher LogManager.Instance.Info($"[LaunchGame] spt-core.dll version: {dllVersion}"); // Edge case, running on locally built modules dlls, ignore check and return ok - if (dllVersion.Major == 0) return false; + if (dllVersion.Major == 1) return false; // check 'X'.x.x if (serverVersion.Major != dllVersion.Major) return true;