Skip to content

Commit

Permalink
Fix exclusive bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Vermidia authored Mar 27, 2024
1 parent 96343b9 commit 1da2254
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ private void GenerateArtifactNodeTree(EntityUid artifact, ref List<ArtifactNode>

private int GetValidNodeId()
{
var id = _random.Next(100, 999);
var id = _random.Next(100, 1000);
while (_usedNodeIds.Contains(id))
{
id = _random.Next(100, 999);
id = _random.Next(100, 1000);
}

_usedNodeIds.Add(id);
Expand Down

0 comments on commit 1da2254

Please sign in to comment.