Artifact node IDs are now only 3 digits long (#26482)

* 2-digit nodes

* 3-digits instead

* Fix exclusive bounds
This commit is contained in:
Verm 2024-03-27 18:26:26 -05:00 committed by GitHub
parent ba7d2dcdf7
commit 2e9deaee1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -44,10 +44,10 @@ public sealed partial class ArtifactSystem
private int GetValidNodeId()
{
var id = _random.Next(10000, 100000);
var id = _random.Next(100, 1000);
while (_usedNodeIds.Contains(id))
{
id = _random.Next(10000, 100000);
id = _random.Next(100, 1000);
}
_usedNodeIds.Add(id);