mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 21:14:15 +01:00
fix compiler error
This commit is contained in:
parent
c5b0f6146e
commit
42c6bf0b7f
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ public partial class MareHub
|
|||
{
|
||||
var invalidPaths = replacement.GamePaths.Where(p => !GamePathRegex().IsMatch(p)).ToArray();
|
||||
replacement.GamePaths = replacement.GamePaths.Where(p => GamePathRegex().IsMatch(p)).ToArray();
|
||||
validGamePaths = replacement.GamePaths.Any();
|
||||
bool validGamePaths = replacement.GamePaths.Any();
|
||||
bool validHash = string.IsNullOrEmpty(replacement.Hash) || HashRegex().IsMatch(replacement.Hash);
|
||||
bool validFileSwapPath = string.IsNullOrEmpty(replacement.FileSwapPath) || GamePathRegex().IsMatch(replacement.FileSwapPath);
|
||||
if (!validGamePaths || !validHash || !validFileSwapPath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue