Skip to content

Commit 44a97c0

Browse files
authored
Update EncryptStrings.lua
fix bug
1 parent d84511d commit 44a97c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/prometheus/steps/EncryptStrings.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function EncryptStrings:CreateEncrypionService()
6161
repeat
6262
seed = math.random(0, 35184372088832);
6363
until not usedSeeds[seed];
64+
usedSeeds[seed] = true;
6465
return seed;
6566
end
6667

0 commit comments

Comments
 (0)