diff options
author | neauoire <[email protected]> | 2019-12-26 12:17:57 -0500 |
---|---|---|
committer | neauoire <[email protected]> | 2019-12-26 12:17:57 -0500 |
commit | 0eca0704ff7dc679a4bfceeb3140241fa58f929e (patch) | |
tree | 0b616d493cee4f2f88e300d63b4183ac474ef4aa | |
parent | acfd0c7c0a5e4265b0fc38b29a610aca4994969a (diff) | |
download | Orca-0eca0704ff7dc679a4bfceeb3140241fa58f929e.tar.gz Orca-0eca0704ff7dc679a4bfceeb3140241fa58f929e.zip |
Fixed issue with C oprator
-rw-r--r-- | desktop/sources/scripts/client.js | 2 | ||||
-rw-r--r-- | desktop/sources/scripts/core/library.js | 2 | ||||
-rw-r--r-- | sw.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/desktop/sources/scripts/client.js b/desktop/sources/scripts/client.js index b8f673a..b98bfe0 100644 --- a/desktop/sources/scripts/client.js +++ b/desktop/sources/scripts/client.js @@ -12,7 +12,7 @@ /* global Theme */ function Client () { - this.version = 165 + this.version = 166 this.library = library this.theme = new Theme(this) diff --git a/desktop/sources/scripts/core/library.js b/desktop/sources/scripts/core/library.js index 5a1b6f2..1889062 100644 --- a/desktop/sources/scripts/core/library.js +++ b/desktop/sources/scripts/core/library.js @@ -52,7 +52,7 @@ library.c = function OperatorC (orca, x, y, passive) { this.operation = function (force = false) { const rate = this.listen(this.ports.rate, true) const mod = this.listen(this.ports.mod, true) - const val = orca.f % (mod * rate) + const val = Math.floor(orca.f / rate) % mod return orca.keyOf(val) } } @@ -1,4 +1,4 @@ -// 165 +// 166 const assets = [ './', |