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:
parent
ae1c0c2278
commit
f423f4bdcb
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ const baseValues = {
|
||||||
[from, to] = [to, from];
|
[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);
|
return Math.round(randValue * (to - from) + from);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue