Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
DaXcess committed May 12, 2024
2 parents 35ad84d + 3f626ef commit a3a4682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private void Awake()

private bool VerifyGameVersion()
{
var location = typeof(PlayerControllerB).Assembly.Location;
var location = Path.Combine(Paths.ManagedPath, "Assembly-CSharp.dll");
var shasum = BitConverter.ToString(Utils.ComputeHash(File.ReadAllBytes(location))).Replace("-", "");

return GAME_ASSEMBLY_HASHES.Contains(shasum);
Expand Down

0 comments on commit a3a4682

Please sign in to comment.