Skip to content

Commit

Permalink
Add ValidateTarget() to Initialize()
Browse files Browse the repository at this point in the history
  • Loading branch information
BinToss committed Feb 14, 2021
1 parent f9e4a56 commit 7eef25f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spv3/loader/src/Install.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,11 @@ public void Initialise()
Main = Visible;
Activation = Collapsed;

ValidateTarget(Target);

/**
* Determine if the current environment fulfills the installation requirements.
*/

if (Registry.GameExists("Custom")
|| Registry.GameExists("Retail")
|| ( Kernel.hxe.Tweaks.Patches & Patcher.EXEP.DISABLE_DRM_AND_KEY_CHECKS) == 1)
Expand Down

0 comments on commit 7eef25f

Please sign in to comment.