0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-12 16:50:43 -05:00

Fixed local builds not checking core dll correctly

This commit is contained in:
Dev 2024-07-26 09:16:18 +01:00
parent bed90176b4
commit 370e7a0c85

View File

@ -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;