From 1da22544e984634b0ca040f33e3b4c7a9202154a Mon Sep 17 00:00:00 2001 From: Verm <32827189+Vermidia@users.noreply.github.com> Date: Wed, 27 Mar 2024 18:11:45 -0500 Subject: [PATCH] Fix exclusive bounds --- .../Xenoarchaeology/XenoArtifacts/ArtifactSystem.Nodes.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Xenoarchaeology/XenoArtifacts/ArtifactSystem.Nodes.cs b/Content.Server/Xenoarchaeology/XenoArtifacts/ArtifactSystem.Nodes.cs index 59c1ef719e7934..647f31a8953825 100644 --- a/Content.Server/Xenoarchaeology/XenoArtifacts/ArtifactSystem.Nodes.cs +++ b/Content.Server/Xenoarchaeology/XenoArtifacts/ArtifactSystem.Nodes.cs @@ -44,10 +44,10 @@ private void GenerateArtifactNodeTree(EntityUid artifact, ref List 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);