From 54809c2b8187294ec9f5d55c0b79ec4bdfeb24c1 Mon Sep 17 00:00:00 2001 From: Andy Sloane Date: Wed, 4 Nov 2015 05:50:29 -0800 Subject: [PATCH] bugfix for 9xx offset effect --- xm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xm.js b/xm.js index a135eea..492a50f 100644 --- a/xm.js +++ b/xm.js @@ -341,7 +341,8 @@ function next_row() { } if (triggernote) { - ch.off = 0; + // there's gotta be a less hacky way to handle offset commands... + if (ch.effect != 9) ch.off = 0; ch.release = 0; ch.envtick = 0; ch.vibratopos = 0;