mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:57:23 +01:00
remove unnecessary exists check
This commit is contained in:
parent
96cc64b35a
commit
f89bbc45e6
1 changed files with 1 additions and 2 deletions
|
|
@ -404,8 +404,7 @@ public sealed class PairHandler : DisposableMediatorSubscriberBase
|
|||
LastAppliedDataSize = -1;
|
||||
foreach (var path in moddedPaths.Select(v => new FileInfo(v.Value)).Where(p => p.Exists))
|
||||
{
|
||||
if (path.Exists)
|
||||
LastAppliedDataSize += path.Length;
|
||||
LastAppliedDataSize += path.Length;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue