3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

fix: type issue

This commit is contained in:
Dragory 2023-04-04 20:56:21 +03:00
parent ae1c0c2278
commit f423f4bdcb
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -413,7 +413,7 @@ const baseValues = {
[from, to] = [to, from];
}
const randValue = seed != null ? new seedrandom(seed)() : Math.random();
const randValue = seed != null ? seedrandom(seed)() : Math.random();
return Math.round(randValue * (to - from) + from);
},