diff --git a/SPTInstaller/Installer Tasks/ReleaseCheckTask.cs b/SPTInstaller/Installer Tasks/ReleaseCheckTask.cs index d736029..340d329 100644 --- a/SPTInstaller/Installer Tasks/ReleaseCheckTask.cs +++ b/SPTInstaller/Installer Tasks/ReleaseCheckTask.cs @@ -66,22 +66,29 @@ public class ReleaseCheckTask : InstallerTaskBase if (intGameVersion < intSPTVersion) { - return Result.FromError("Your client is outdated. Please update EFT using your BSG Launcher"); + return Result.FromError("Your live EFT is out of date. Please update it using the BSG Launcher then run the SPT Installer again"); } if (intGameVersion == intSPTVersion) { patchNeedCheck = false; } - - if ((intGameVersion != patchMirrorInfo.SourceClientVersion || - intSPTVersion != patchMirrorInfo.TargetClientVersion) && patchNeedCheck) + + bool sptClientIsOutdated = intSPTVersion != patchMirrorInfo.TargetClientVersion && patchNeedCheck; + bool liveClientIsOutdated = intGameVersion != patchMirrorInfo.SourceClientVersion && patchNeedCheck; + + if (liveClientIsOutdated) + { + return Result.FromError("Your live EFT is out of date. Please update it using the BSG Launcher then run the SPT Installer again"); + } + + if (sptClientIsOutdated) { return Result.FromError( - "We could not find a downgrade patcher for the version of EFT you have installed." + + "Could not find a downgrade patcher for the version of EFT you have installed." + "\nThis can happen due to one of the following reasons:" + "\n* Live EFT just updated. The SPT team will create a new patcher within 24 hours, hold tight!" + - "\n* Live EFT just updated. You have not installed it on your computer using the BSG launcher."); + "\n* Live EFT just updated. You have not installed it on your computer using the BSG launcher"); } _data.PatchNeeded = patchNeedCheck;