Skip to content

Commit

Permalink
Merge staging into master (space-wizards#33462)
Browse files Browse the repository at this point in the history
  • Loading branch information
slarticodefast authored Nov 22, 2024
2 parents 646d41d + b4ec946 commit 09ca45a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Content.Shared.Database/TypedHwid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ public static bool TryParse(string value, [NotNullWhen(true)] out ImmutableTyped
return false;
}

hwid = new ImmutableTypedHwid([..array], type);
// ReSharper disable once UseCollectionExpression
// Do not use collection expression, C# compiler is weird and it fails sandbox.
hwid = new ImmutableTypedHwid(ImmutableArray.Create(array), type);
return true;
}

Expand Down

0 comments on commit 09ca45a

Please sign in to comment.