mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 21:42:05 +00:00
Make the multiplier return the current volume
without doing any math to it, so we can have different ways to set the multiplier in logarithmic ways.
This commit is contained in:
parent
8e6427963b
commit
e8cc571d6a
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class Volume extends Transform {
|
|||
}
|
||||
|
||||
get multiplier() {
|
||||
return Math.tan(this.volume);
|
||||
return this.volume;
|
||||
}
|
||||
|
||||
get() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue