Skip to content

Commit 98297ae

Browse files
committed
wait thats stupid only do that when game is encrypted
1 parent 0b010f5 commit 98297ae

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Refresher.Core/Pipelines/Steps/GetConsoleIdpsStep.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ public override Task ExecuteAsync(CancellationToken cancellationToken = default)
1313
{
1414
ConsolePatchAccessor? accessor = this.Pipeline.Accessor as ConsolePatchAccessor;
1515
Debug.Assert(accessor != null);
16-
17-
this.Encryption.ConsoleIdps = accessor.IdpsFile.Value;
18-
// ^ is lazy<t>, will generate upon use
16+
17+
if (this.Game.ShouldUseNpdrmEncryption.GetValueOrDefault())
18+
{
19+
this.Encryption.ConsoleIdps = accessor.IdpsFile.Value;
20+
// ^ is lazy<t>, will generate upon use
21+
}
1922

2023
return Task.CompletedTask;
2124
}

0 commit comments

Comments
 (0)