1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 10:08:31 +00:00

Compare commits

..

No commits in common. "5ba98d3dcdbfad364b96afd053dceed2e6d06e06" and "fd3ca6520715228d5cc4f54cbba173dea893ce63" have entirely different histories.

View File

@ -43,7 +43,7 @@ public static class IdGenerator
{
mappedId = id;
int mappingCounter = 1;
while (_registeredIds.Contains(mappedId))
while (_registeredIds.Contains(id))
mappedId = $"{id} ({++mappingCounter})";
_registeredIds.Add(mappedId);