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

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);