summaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/TagGenerator.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/TagGenerator.kt b/src/main/kotlin/TagGenerator.kt
index d7662e6..c386b17 100644
--- a/src/main/kotlin/TagGenerator.kt
+++ b/src/main/kotlin/TagGenerator.kt
@@ -57,6 +57,7 @@ class TagGenerator(val method: TagGenerationMethod, val initial: UShort) {
do {
v = generateRandom()
} while (v in randomReturned)
+ randomReturned.plus(v)
return v
}
} \ No newline at end of file